Converted about 25 *.test.ts files to --strictNullChecks (mostly automatically) (#65581)

* Manually added strict null checks in around 70 files

* Fixed tsconfig.strictNullChecks.json merge fail

* Touched up a few unnecessary type changes

* Removed files already in other PRs
This commit is contained in:
Josh Goldberg
2018-12-23 23:28:51 -05:00
committed by Matt Bierner
parent cb674e7d11
commit d659000852
41 changed files with 569 additions and 543 deletions

View File

@@ -491,7 +491,7 @@ export class TextEdit {
constructor(range: Range, newText: string) {
this.range = range;
this.newText = newText;
this.newText = newText || '';
}
toJSON(): any {