From 73abd669dc955db446ba8b85f30bd984a13d29c3 Mon Sep 17 00:00:00 2001 From: zkldi <20380519+zkldi@users.noreply.github.com> Date: Sun, 17 Jul 2022 16:42:42 +0100 Subject: [PATCH] fix: strict false is actually *causing* errors would ya believe it? typescript interprets an empty array as Array in non-strict mode, and Array in strict. This bizarre behaviour causes even more bizarre errors when using ts-node to run our scripts. --- database-seeds/scripts/tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database-seeds/scripts/tsconfig.json b/database-seeds/scripts/tsconfig.json index b96a3bf21..81ba7b2bf 100644 --- a/database-seeds/scripts/tsconfig.json +++ b/database-seeds/scripts/tsconfig.json @@ -1,7 +1,7 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "strict": false, + "strict": true, "allowJs": true, "lib": [ "ES2019",