Chore: reduces strict null errors to 824 (#22744)

* Chore: reduces strict null errors with 100+

* Chore: lowers the build error number
This commit is contained in:
Hugo Häggmark
2020-03-12 10:22:33 +01:00
committed by GitHub
parent 4fecf5a7a6
commit b51e28bc15
35 changed files with 202 additions and 160 deletions

View File

@ -1,7 +1,7 @@
import { Subject, Observable } from 'rxjs';
import { Observable, Subject } from 'rxjs';
import * as rxJsWebSocket from 'rxjs/webSocket';
import { LiveStreams } from './live_streams';
import { DataFrameView, Labels, formatLabels, DataFrame } from '@grafana/data';
import { DataFrame, DataFrameView, formatLabels, Labels } from '@grafana/data';
import { noop } from 'lodash';
let fakeSocket: Subject<any>;
@ -59,7 +59,7 @@ describe('Live Stream Tests', () => {
stream.subscribe({
next: val => {
const test = tests.shift();
test(val);
test!(val);
},
complete: () => done(),
});