fix: strict false is actually *causing* errors

would ya believe it? typescript interprets an empty array as
Array<undefined> in non-strict mode, and Array<void> in strict.
This bizarre behaviour causes even more bizarre errors
when using ts-node to run our scripts.
This commit is contained in:
zkldi
2022-07-17 17:42:26 +01:00
parent 91d897313d
commit 73abd669dc
+1 -1
View File
@@ -1,7 +1,7 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"strict": false,
"strict": true,
"allowJs": true,
"lib": [
"ES2019",