From b6e45b69a61f5dc2b85cc5081236f22e1d3a1f6d Mon Sep 17 00:00:00 2001 From: Anthony Dresser Date: Mon, 31 Aug 2020 15:35:21 -0700 Subject: [PATCH] simplify tsconfig (#11927) --- src/sql/azdata.proposed.d.ts | 2 +- src/tsconfig.vscode.json | 36 +++++++++++++++++++++++++++++++----- 2 files changed, 32 insertions(+), 6 deletions(-) diff --git a/src/sql/azdata.proposed.d.ts b/src/sql/azdata.proposed.d.ts index 754076a8f5..1cd6db4093 100644 --- a/src/sql/azdata.proposed.d.ts +++ b/src/sql/azdata.proposed.d.ts @@ -34,7 +34,7 @@ declare module 'azdata' { /** * Sets the trust mode for the notebook document. */ - setTrusted(state: boolean); + setTrusted(state: boolean): void; } export interface IStandardKernel { diff --git a/src/tsconfig.vscode.json b/src/tsconfig.vscode.json index 8cc8c9b798..3054458afe 100644 --- a/src/tsconfig.vscode.json +++ b/src/tsconfig.vscode.json @@ -1,16 +1,42 @@ { - "extends": "./tsconfig.json", "compilerOptions": { - "noEmit": true, + "target": "es2017", + "module": "amd", + "moduleResolution": "node", "experimentalDecorators": true, "noImplicitReturns": true, "noUnusedLocals": true, "strict": true, "forceConsistentCasingInFileNames": true, - "strictNullChecks": true, - "strictPropertyInitialization": true, + "baseUrl": ".", + "removeComments": false, + "preserveConstEnums": true, + "sourceMap": false, + "noEmit": true, "skipLibCheck": true, - "noImplicitAny": true + "paths": { + "vs/*": [ + "./vs/*" + ], + "sql/*": [ + "./sql/*" + ] + }, + "lib": [ + "ES2015", + "ES2017.String", + "ES2018.Promise", + "DOM", + "DOM.Iterable", + "WebWorker.ImportScripts" + ], + "types": [ + "keytar", + "mocha", + "semver", + "sinon", + "winreg" + ] }, "include": [ "./**/*.d.ts",