Prechádzať zdrojové kódy

fixed compiling errors caused by type definitions

sanex3339 8 rokov pred
rodič
commit
d23212add5
2 zmenil súbory, kde vykonal 22 pridanie a 2 odobranie
  1. 11 1
      tsconfig-test.json
  2. 11 1
      tsconfig.json

+ 11 - 1
tsconfig-test.json

@@ -10,7 +10,17 @@
     "removeComments": true,
     "removeComments": true,
     "noImplicitAny": true,
     "noImplicitAny": true,
     "strictNullChecks": true,
     "strictNullChecks": true,
-    "noUnusedLocals": true
+    "noUnusedLocals": true,
+    "types": [
+      "chai",
+      "chance",
+      "esprima",
+      "joi",
+      "mkdirp",
+      "mocha",
+      "node",
+      "sinon"
+    ]
   },
   },
   "exclude": [
   "exclude": [
     "node_modules"
     "node_modules"

+ 11 - 1
tsconfig.json

@@ -8,6 +8,16 @@
     "removeComments": true,
     "removeComments": true,
     "noImplicitAny": true,
     "noImplicitAny": true,
     "strictNullChecks": true,
     "strictNullChecks": true,
-    "noUnusedLocals": true
+    "noUnusedLocals": true,
+    "types": [
+      "chai",
+      "chance",
+      "esprima",
+      "joi",
+      "mkdirp",
+      "mocha",
+      "node",
+      "sinon"
+    ]
   }
   }
 }
 }