Browse Source

Turn on strict null checks (except for services)

Vidar Tonaas Fauske 5 years ago
parent
commit
df0b0f7438

+ 0 - 1
packages/coreutils/tsconfig.json

@@ -4,7 +4,6 @@
     "outDir": "lib",
     "rootDir": "src",
     "module": "commonjs",
-    "strictNullChecks": true,
     "types": ["node"]
   },
   "files": ["src/plugin-schema.json"],

+ 1 - 0
packages/services/tsconfig.json

@@ -4,6 +4,7 @@
     "outDir": "lib",
     "rootDir": "src",
     "module": "commonjs",
+    "strictNullChecks": false,
     "types": ["node"]
   },
   "include": ["src/**/*"],

+ 1 - 0
tests/test-services/tsconfig.json

@@ -3,6 +3,7 @@
   "compilerOptions": {
     "types": ["jest", "ws", "node"],
     "outDir": "build",
+    "strictNullChecks": false,
     "rootDir": "src"
   },
   "include": ["src/**/*"],

+ 1 - 0
tsconfigbase.json

@@ -15,6 +15,7 @@
     "preserveWatchOutput": true,
     "resolveJsonModule": true,
     "sourceMap": true,
+    "strictNullChecks": true,
     "target": "es2017",
     "types": []
   }