Chore: upgrade to Typescript 3.9.3 (#25154)

* upgrade to typescript 3.9.3

* Fix errors that surfaced with update

* Null check fixs

* FIx null checks

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
This commit is contained in:
Ryan McKinley
2020-06-17 04:26:01 -06:00
committed by GitHub
parent d352c213b3
commit d1b230f84a
34 changed files with 160 additions and 78 deletions

View File

@@ -237,7 +237,7 @@ export class DataSourceSettingsPage extends PureComponent<Props> {
return (
<Page navModel={navModel}>
<Page.Contents isLoading={!this.hasDataSource}>
{this.hasDataSource && <div>{page ? this.renderConfigPageBody(page) : this.renderSettings()}</div>}
{this.hasDataSource ? <div>{page ? this.renderConfigPageBody(page) : this.renderSettings()}</div> : null}
</Page.Contents>
</Page>
);