Strict null checks (#60565)

This commit is contained in:
Alex Dima
2018-10-12 08:45:49 +02:00
parent 8ff27229f2
commit 46d1426b7e
28 changed files with 248 additions and 208 deletions

View File

@@ -7,6 +7,7 @@
"include": [
"./typings",
"./vs/base/browser/browser.ts",
"./vs/base/browser/dom.ts",
"./vs/base/browser/event.ts",
"./vs/base/browser/history.ts",
"./vs/base/browser/iframe.ts",
@@ -92,8 +93,12 @@
"./vs/code/electron-main/keyboard.ts",
"./vs/code/electron-main/theme.ts",
"./vs/code/node/shellEnv.ts",
"./vs/editor/browser/config/charWidthReader.ts",
"./vs/editor/browser/config/elementSizeObserver.ts",
"./vs/editor/browser/controller/textAreaState.ts",
"./vs/editor/common/commands/replaceCommand.ts",
"./vs/editor/common/commands/surroundSelectionCommand.ts",
"./vs/editor/common/commands/trimTrailingWhitespaceCommand.ts",
"./vs/editor/common/config/editorOptions.ts",
"./vs/editor/common/config/editorZoom.ts",
"./vs/editor/common/config/fontInfo.ts",
@@ -109,6 +114,7 @@
"./vs/editor/common/core/stringBuilder.ts",
"./vs/editor/common/core/token.ts",
"./vs/editor/common/core/uint.ts",
"./vs/editor/common/diff/diffComputer.ts",
"./vs/editor/common/editorAction.ts",
"./vs/editor/common/editorCommon.ts",
"./vs/editor/common/editorContextKeys.ts",
@@ -138,15 +144,21 @@
"./vs/editor/common/modes/supports/characterPair.ts",
"./vs/editor/common/modes/supports/electricCharacter.ts",
"./vs/editor/common/modes/supports/indentRules.ts",
"./vs/editor/common/modes/supports/inplaceReplaceSupport.ts",
"./vs/editor/common/modes/supports/onEnter.ts",
"./vs/editor/common/modes/supports/richEditBrackets.ts",
"./vs/editor/common/modes/supports/tokenization.ts",
"./vs/editor/common/modes/textToHtmlTokenizer.ts",
"./vs/editor/common/modes/tokenizationRegistry.ts",
"./vs/editor/common/services/editorWorkerService.ts",
"./vs/editor/common/services/modeService.ts",
"./vs/editor/common/services/modelService.ts",
"./vs/editor/common/services/modeService.ts",
"./vs/editor/common/services/resolverService.ts",
"./vs/editor/common/standalone/standaloneBase.ts",
"./vs/editor/common/view/minimapCharRenderer.ts",
"./vs/editor/common/view/overviewZoneManager.ts",
"./vs/editor/common/view/runtimeMinimapCharRenderer.ts",
"./vs/editor/common/view/viewEvents.ts",
"./vs/editor/common/viewLayout/whitespaceComputer.ts",
"./vs/editor/common/viewModel/prefixSumComputer.ts",
"./vs/editor/contrib/codeAction/codeActionTrigger.ts",
@@ -154,8 +166,8 @@
"./vs/editor/contrib/find/findState.ts",
"./vs/editor/contrib/find/replaceAllCommand.ts",
"./vs/editor/contrib/find/replacePattern.ts",
"./vs/editor/contrib/inPlaceReplace/inPlaceReplaceCommand.ts",
"./vs/editor/contrib/indentation/indentUtils.ts",
"./vs/editor/contrib/inPlaceReplace/inPlaceReplaceCommand.ts",
"./vs/editor/contrib/linesOperations/copyLinesCommand.ts",
"./vs/editor/standalone/common/monarch/monarchCommon.ts",
"./vs/editor/standalone/common/monarch/monarchCompile.ts",
@@ -202,8 +214,8 @@
"./vs/platform/opener/common/opener.ts",
"./vs/platform/output/node/outputAppender.ts",
"./vs/platform/progress/common/progress.ts",
"./vs/platform/quickOpen/common/quickOpen.ts",
"./vs/platform/quickinput/common/quickInput.ts",
"./vs/platform/quickOpen/common/quickOpen.ts",
"./vs/platform/registry/common/platform.ts",
"./vs/platform/search/common/search.ts",
"./vs/platform/state/common/state.ts",