mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-22 01:29:04 +01:00
Add null type annotations for the common x: T = null pattern
In these cases, the programmer has explicitly indicated that the type should be nullable
This commit is contained in:
@@ -91,50 +91,80 @@
|
||||
"./vs/code/electron-main/keyboard.ts",
|
||||
"./vs/code/electron-main/theme.ts",
|
||||
"./vs/code/node/shellEnv.ts",
|
||||
"./vs/editor/browser/config/elementSizeObserver.ts",
|
||||
"./vs/editor/common/commands/replaceCommand.ts",
|
||||
"./vs/editor/common/commands/surroundSelectionCommand.ts",
|
||||
"./vs/editor/common/config/editorOptions.ts",
|
||||
"./vs/editor/common/config/editorZoom.ts",
|
||||
"./vs/editor/common/config/fontInfo.ts",
|
||||
"./vs/editor/common/controller/cursorEvents.ts",
|
||||
"./vs/editor/common/controller/wordCharacterClassifier.ts",
|
||||
"./vs/editor/common/core/characterClassifier.ts",
|
||||
"./vs/editor/common/core/editOperation.ts",
|
||||
"./vs/editor/common/core/lineTokens.ts",
|
||||
"./vs/editor/common/core/position.ts",
|
||||
"./vs/editor/common/core/range.ts",
|
||||
"./vs/editor/common/core/rgba.ts",
|
||||
"./vs/editor/common/core/selection.ts",
|
||||
"./vs/editor/common/core/stringBuilder.ts",
|
||||
"./vs/editor/common/core/token.ts",
|
||||
"./vs/editor/common/core/uint.ts",
|
||||
"./vs/editor/common/editorAction.ts",
|
||||
"./vs/editor/common/editorCommon.ts",
|
||||
"./vs/editor/common/editorContextKeys.ts",
|
||||
"./vs/editor/common/model.ts",
|
||||
"./vs/editor/common/model/editStack.ts",
|
||||
"./vs/editor/common/model/indentationGuesser.ts",
|
||||
"./vs/editor/common/model/intervalTree.ts",
|
||||
"./vs/editor/common/editorContextKeys.ts",
|
||||
"./vs/editor/common/model/mirrorTextModel.ts",
|
||||
"./vs/editor/common/model/pieceTreeTextBuffer/pieceTreeBase.ts",
|
||||
"./vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBuffer.ts",
|
||||
"./vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBufferBuilder.ts",
|
||||
"./vs/editor/common/model/pieceTreeTextBuffer/rbTreeBase.ts",
|
||||
"./vs/editor/common/model/textModel.ts",
|
||||
"./vs/editor/common/model/textModelEvents.ts",
|
||||
"./vs/editor/common/modes/languageSelector.ts",
|
||||
"./vs/editor/common/model/textModelSearch.ts",
|
||||
"./vs/editor/common/model/textModelTokens.ts",
|
||||
"./vs/editor/common/model/wordHelper.ts",
|
||||
"./vs/editor/common/modes.ts",
|
||||
"./vs/editor/common/modes/abstractMode.ts",
|
||||
"./vs/editor/common/modes/languageConfiguration.ts",
|
||||
"./vs/editor/common/modes/languageConfigurationRegistry.ts",
|
||||
"./vs/editor/common/modes/languageFeatureRegistry.ts",
|
||||
"./vs/editor/common/modes/languageSelector.ts",
|
||||
"./vs/editor/common/modes/nullMode.ts",
|
||||
"./vs/editor/common/modes/supports.ts",
|
||||
"./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/onEnter.ts",
|
||||
"./vs/editor/common/modes/supports/richEditBrackets.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/resolverService.ts",
|
||||
"./vs/editor/common/view/overviewZoneManager.ts",
|
||||
"./vs/editor/common/viewLayout/whitespaceComputer.ts",
|
||||
"./vs/editor/common/viewModel/prefixSumComputer.ts",
|
||||
"./vs/editor/contrib/codeAction/codeActionTrigger.ts",
|
||||
"./vs/editor/contrib/colorPicker/colorPickerModel.ts",
|
||||
"./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/linesOperations/copyLinesCommand.ts",
|
||||
"./vs/editor/standalone/common/monarch/monarchCommon.ts",
|
||||
"./vs/editor/standalone/common/monarch/monarchCompile.ts",
|
||||
"./vs/editor/standalone/common/monarch/monarchTypes.ts",
|
||||
"./vs/editor/test/common/commentMode.ts",
|
||||
"./vs/editor/test/common/core/viewLineToken.ts",
|
||||
"./vs/editor/test/common/editorTestUtils.ts",
|
||||
"./vs/editor/test/common/mocks/mockMode.ts",
|
||||
"./vs/editor/test/common/model/benchmark/benchmarkUtils.ts",
|
||||
"./vs/editor/test/common/modes/supports/javascriptOnEnterRules.ts",
|
||||
"./vs/editor/test/common/modesTestUtils.ts",
|
||||
"./vs/nls.mock.ts",
|
||||
"./vs/platform/broadcast/electron-browser/broadcastService.ts",
|
||||
"./vs/platform/clipboard/common/clipboardService.ts",
|
||||
@@ -191,17 +221,20 @@
|
||||
"./vs/workbench/common/extensionHostProtocol.ts",
|
||||
"./vs/workbench/common/panel.ts",
|
||||
"./vs/workbench/common/viewlet.ts",
|
||||
"./vs/workbench/parts/codeEditor/browser/simpleEditorOptions.ts",
|
||||
"./vs/workbench/parts/execution/common/execution.ts",
|
||||
"./vs/workbench/parts/extensions/common/extensionQuery.ts",
|
||||
"./vs/workbench/parts/logs/common/logConstants.ts",
|
||||
"./vs/workbench/parts/markers/electron-browser/constants.ts",
|
||||
"./vs/workbench/parts/outline/electron-browser/outline.ts",
|
||||
"./vs/workbench/parts/output/common/output.ts",
|
||||
"./vs/workbench/parts/scm/electron-browser/scmUtil.ts",
|
||||
"./vs/workbench/parts/search/common/constants.ts",
|
||||
"./vs/workbench/parts/terminal/browser/terminalWidgetManager.ts",
|
||||
"./vs/workbench/parts/terminal/common/terminal.ts",
|
||||
"./vs/workbench/parts/welcome/page/electron-browser/vs_code_welcome_page.ts",
|
||||
"./vs/workbench/services/activity/common/activity.ts",
|
||||
"./vs/workbench/services/backup/common/backup.ts",
|
||||
"./vs/workbench/services/configuration/common/jsonEditing.ts",
|
||||
"./vs/workbench/services/decorations/browser/decorations.ts",
|
||||
"./vs/workbench/services/extensions/node/lazyPromise.ts",
|
||||
@@ -212,7 +245,10 @@
|
||||
"./vs/workbench/services/hash/common/hashService.ts",
|
||||
"./vs/workbench/services/hash/node/hashService.ts",
|
||||
"./vs/workbench/services/panel/common/panelService.ts",
|
||||
"./vs/workbench/services/scm/common/scm.ts",
|
||||
"./vs/workbench/services/scm/common/scmService.ts",
|
||||
"./vs/workbench/services/search/node/search.ts",
|
||||
"./vs/workbench/services/textMate/electron-browser/textMateService.ts",
|
||||
"./vs/workbench/services/title/common/titleService.ts",
|
||||
"./vs/workbench/test/electron-browser/api/mock.ts"
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user