ソースを参照

add commonjs module config to tsconfig

afrokick 6 年 前
コミット
d42eeac984
1 ファイル変更5 行追加1 行削除
  1. 5 1
      tsconfig.json

+ 5 - 1
tsconfig.json

@@ -1,6 +1,10 @@
 {
 {
     "compilerOptions": {
     "compilerOptions": {
         "target": "es6",
         "target": "es6",
-        "downlevelIteration": true
+        "module": "commonjs",
+        "downlevelIteration": true,
+        "noUnusedLocals": true,
+        "noUnusedParameters": true,
+        "skipLibCheck": true,
     }
     }
 }
 }