Kaynağa Gözat

add commonjs module config to tsconfig

afrokick 6 yıl önce
ebeveyn
işleme
d42eeac984
1 değiştirilmiş dosya ile 5 ekleme ve 1 silme
  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,
     }
 }