From 15de1d029c754f89225b32db57745205e068978f Mon Sep 17 00:00:00 2001 From: Mike North Date: Sat, 29 Dec 2018 20:26:24 -0800 Subject: [PATCH] fix: isolatedModules issue --- editor/tsconfig.json | 20 ++++++++++++++++++-- tsconfig.json | 1 - 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/editor/tsconfig.json b/editor/tsconfig.json index 1b93cb1f..ec45a0cc 100644 --- a/editor/tsconfig.json +++ b/editor/tsconfig.json @@ -4,8 +4,24 @@ "lib": ["scripthost", "es2015", "dom"], "rootDir": ".", "moduleResolution": "node", - "isolatedModules": false + "target": "es2017", + "allowJs": true, + "allowSyntheticDefaultImports": true, + "noImplicitAny": true, + "noImplicitThis": true, + "alwaysStrict": true, + "strictNullChecks": true, + "strictPropertyInitialization": true, + "noFallthroughCasesInSwitch": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "noImplicitReturns": true, + "noEmitOnError": false, + "noEmit": true, + "inlineSourceMap": true, + "inlineSources": true, + "baseUrl": ".", + "module": "es6" }, - "extends": "../tsconfig.json", "include": ["index.ts", "./**/*.ts"] } diff --git a/tsconfig.json b/tsconfig.json index 6100eb29..672adef0 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,7 +3,6 @@ "target": "es2017", "allowJs": true, "moduleResolution": "node", - "isolatedModules": true, "allowSyntheticDefaultImports": true, "noImplicitAny": true, "noImplicitThis": true,