simplify tsconfig (#11927)

This commit is contained in:
Anthony Dresser
2020-08-31 15:35:21 -07:00
committed by GitHub
parent 2692df3cc7
commit b6e45b69a6
2 changed files with 32 additions and 6 deletions

View File

@@ -34,7 +34,7 @@ declare module 'azdata' {
/** /**
* Sets the trust mode for the notebook document. * Sets the trust mode for the notebook document.
*/ */
setTrusted(state: boolean); setTrusted(state: boolean): void;
} }
export interface IStandardKernel { export interface IStandardKernel {

View File

@@ -1,16 +1,42 @@
{ {
"extends": "./tsconfig.json",
"compilerOptions": { "compilerOptions": {
"noEmit": true, "target": "es2017",
"module": "amd",
"moduleResolution": "node",
"experimentalDecorators": true, "experimentalDecorators": true,
"noImplicitReturns": true, "noImplicitReturns": true,
"noUnusedLocals": true, "noUnusedLocals": true,
"strict": true, "strict": true,
"forceConsistentCasingInFileNames": true, "forceConsistentCasingInFileNames": true,
"strictNullChecks": true, "baseUrl": ".",
"strictPropertyInitialization": true, "removeComments": false,
"preserveConstEnums": true,
"sourceMap": false,
"noEmit": true,
"skipLibCheck": 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": [ "include": [
"./**/*.d.ts", "./**/*.d.ts",