enable strict null check
parent
6bbf94c2f1
commit
373bfe66a1
|
@ -151,6 +151,7 @@
|
|||
"./vs/base/test/common/types.test.ts",
|
||||
"./vs/base/test/common/utils.ts",
|
||||
"./vs/base/test/common/uuid.test.ts",
|
||||
"./vs/base/test/node/config.test.ts",
|
||||
"./vs/base/test/node/console.test.ts",
|
||||
"./vs/base/test/node/decoder.test.ts",
|
||||
"./vs/base/test/node/encoding/encoding.test.ts",
|
||||
|
|
|
@ -141,7 +141,7 @@ suite('Config', () => {
|
|||
testFile('config', 'config.json').then(res => {
|
||||
fs.writeFileSync(res.testFile, '// my comment\n{ "foo": "bar" }');
|
||||
|
||||
let watcher = new ConfigWatcher<{ foo: string; }>(res.testFile, { changeBufferDelay: 100, onError: console.error, defaultConfig: void 0 });
|
||||
let watcher = new ConfigWatcher<{ foo: string; }>(res.testFile, { changeBufferDelay: 100, onError: console.error, defaultConfig: { foo: 'bar' } });
|
||||
watcher.getConfig(); // ensure we are in sync
|
||||
|
||||
fs.writeFileSync(res.testFile, '// my comment\n{ "foo": "changed" }');
|
||||
|
|
Loading…
Reference in New Issue