diff --git a/extensions/vscode-api-tests/src/singlefolder-tests/workspace.test.ts b/extensions/vscode-api-tests/src/singlefolder-tests/workspace.test.ts index 48557219d7b..2b3ffd64919 100644 --- a/extensions/vscode-api-tests/src/singlefolder-tests/workspace.test.ts +++ b/extensions/vscode-api-tests/src/singlefolder-tests/workspace.test.ts @@ -349,6 +349,7 @@ suite('workspace-namespace', () => { if (uri.authority === 'foo') { return '1'; } + return undefined; } }); let registration2 = vscode.workspace.registerTextDocumentContentProvider('foo', { @@ -356,6 +357,7 @@ suite('workspace-namespace', () => { if (uri.authority === 'bar') { return '2'; } + return undefined; } }); diff --git a/extensions/vscode-api-tests/tsconfig.json b/extensions/vscode-api-tests/tsconfig.json index e20c62568a8..296ddb38fcb 100644 --- a/extensions/vscode-api-tests/tsconfig.json +++ b/extensions/vscode-api-tests/tsconfig.json @@ -1,15 +1,7 @@ { + "extends": "../shared.tsconfig.json", "compilerOptions": { - "module": "commonjs", - "target": "ES5", - "outDir": "out", - "lib": [ - "es2015" - ], - "sourceMap": true, - "strict": true, - "noUnusedLocals": true, - "noUnusedParameters": true + "outDir": "./out" }, "include": [ "src/**/*"