codemirror: Enable strictNullChecks so I can test typing changes that

are only relevant with strictNullChecks enabled.
This commit is contained in:
Matt McCutchen
2018-08-07 17:23:35 -04:00
parent 2025fc00e6
commit 2d432d6582
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -13,9 +13,9 @@ var head = range.head;
var from = range.from();
var to = range.to();
var myTextArea: HTMLTextAreaElement;
var myTextArea: HTMLTextAreaElement = undefined!;
var myCodeMirror3: CodeMirror.Editor = CodeMirror(function (elt) {
myTextArea.parentNode.replaceChild(elt, myTextArea);
myTextArea.parentNode!.replaceChild(elt, myTextArea);
}, { value: myTextArea.value });
var myCodeMirror4: CodeMirror.Editor = CodeMirror.fromTextArea(myTextArea);
+1 -1
View File
@@ -7,7 +7,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": false,
"strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [