Explorar o código

add commonjs module config to tsconfig

afrokick %!s(int64=6) %!d(string=hai) anos
pai
achega
d42eeac984
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  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,
     }
 }