aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinigami <[email protected]>2022-03-22 00:34:48 +0100
committerGitHub <[email protected]>2022-03-21 23:34:48 +0000
commitfbb3e7db5aa6c8e65d0b0260d9b8e8e3f5329909 (patch)
tree7199b026c1344a3e5c9c9cd66ee37820d0edc3c5
parent15d4e2e35ae6d1fe842e46c3e212cebc5f896173 (diff)
downloadfaker-fbb3e7db5aa6c8e65d0b0260d9b8e8e3f5329909.tar.xz
faker-fbb3e7db5aa6c8e65d0b0260d9b8e8e3f5329909.zip
chore: partially activate strict mode (#651)
-rw-r--r--tsconfig.json10
1 files changed, 9 insertions, 1 deletions
diff --git a/tsconfig.json b/tsconfig.json
index 9f2fe64c..aea7ca43 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -4,7 +4,15 @@
"outDir": "dist",
"declaration": true,
"esModuleInterop": true,
- "allowJs": true
+ "allowJs": true,
+ "alwaysStrict": true,
+ // "strictNullChecks": true,
+ // "strictBindCallApply": true,
+ "strictFunctionTypes": true,
+ // "strictPropertyInitialization": true,
+ // "noImplicitAny": true,
+ // "noImplicitThis": true,
+ "useUnknownInCatchVariables": true
},
"include": ["src/**/*"],
"exclude": ["node_modules"]