ソースを参照

Update tsconfig.json

customisations
alemart 7ヶ月前
コミット
0a80468097
1個のファイルの変更4行の追加2行の削除
  1. 4
    2
      tsconfig.json

+ 4
- 2
tsconfig.json ファイルの表示

@@ -1,7 +1,8 @@
1 1
 {
2 2
     "compilerOptions": {
3
-        "target": "ES6",
4
-        "module": "ES6",
3
+        "target": "es2020",
4
+        "module": "es6",
5
+        "lib": ["dom", "es2020"],
5 6
         "outDir": "./dist/",
6 7
         "sourceMap": true,
7 8
         "allowJs": true,
@@ -11,6 +12,7 @@
11 12
         "skipLibCheck": true,
12 13
         "moduleResolution": "node",
13 14
         "esModuleInterop": true,
15
+        "isolatedModules": true,
14 16
         "allowSyntheticDefaultImports": true,
15 17
         "forceConsistentCasingInFileNames": true,
16 18
         "preserveSymlinks": true

読み込み中…
キャンセル
保存