Răsfoiți Sursa

add commonjs module config to tsconfig

afrokick 6 ani în urmă
părinte
comite
d42eeac984
1 a modificat fișierele cu 5 adăugiri și 1 ștergeri
  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,
     }
 }