From 1f4f63c9f218be407176c2cb6672378fd00eb73b Mon Sep 17 00:00:00 2001 From: Jonas Kruckenberg Date: Thu, 28 Oct 2021 16:41:30 +0200 Subject: [PATCH] Update tsconfig.json --- webview-src/tsconfig.json | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/webview-src/tsconfig.json b/webview-src/tsconfig.json index a120087d..bda1b10d 100755 --- a/webview-src/tsconfig.json +++ b/webview-src/tsconfig.json @@ -1,16 +1,24 @@ { "compilerOptions": { - "target": "ES5", + "target": "ES2019", "strict": true, - "allowJs": true, + "lib": [ + "ES2019", + "ES2020.Promise", + "ES2020.String", + "DOM", + ], + "noEmitOnError": true, + "isolatedModules": true, + // module resolution "esModuleInterop": true, - "baseUrl": ".", - "paths": { - "types": ["@types"] - }, + "moduleResolution": "node", + // advanced + "forceConsistentCasingInFileNames": true, + "skipLibCheck": true, "declaration": true, "declarationDir": "../webview-dist", - "rootDir": "./" + "rootDir": "./", }, - "include": ["./"] -} + "exclude": ["node_modules"] +} \ No newline at end of file