浏览代码

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": {
         "target": "es6",
-        "downlevelIteration": true
+        "module": "commonjs",
+        "downlevelIteration": true,
+        "noUnusedLocals": true,
+        "noUnusedParameters": true,
+        "skipLibCheck": true,
     }
 }