From 96990ee230a7edcdb36fb23f78007094f3d8ba58 Mon Sep 17 00:00:00 2001 From: Matt Bierner Date: Fri, 30 Nov 2018 17:51:05 -0800 Subject: [PATCH] Strict null check platform/configuration/node --- src/tsconfig.strictNullChecks.json | 1 + src/vs/platform/configuration/node/configuration.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tsconfig.strictNullChecks.json b/src/tsconfig.strictNullChecks.json index b527e4e3e47..50e3d2a515b 100644 --- a/src/tsconfig.strictNullChecks.json +++ b/src/tsconfig.strictNullChecks.json @@ -403,6 +403,7 @@ "./vs/platform/configuration/common/configuration.ts", "./vs/platform/configuration/common/configurationModels.ts", "./vs/platform/configuration/common/configurationRegistry.ts", + "./vs/platform/configuration/node/configuration.ts", "./vs/platform/configuration/test/common/testConfigurationService.ts", "./vs/platform/contextkey/browser/contextKeyService.ts", "./vs/platform/contextkey/common/contextkey.ts", diff --git a/src/vs/platform/configuration/node/configuration.ts b/src/vs/platform/configuration/node/configuration.ts index b84aa645c64..61c54a4543c 100644 --- a/src/vs/platform/configuration/node/configuration.ts +++ b/src/vs/platform/configuration/node/configuration.ts @@ -30,7 +30,7 @@ export class UserConfiguration extends Disposable { userConfigModelParser.parse(content); parseErrors = [...userConfigModelParser.errors]; return userConfigModelParser; - }, initCallback: () => c(null) + }, initCallback: () => c(void 0) }); this._register(this.userConfigModelWatcher); -- GitLab