From 47b815372874b36f2e16272abdb790f28192f172 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Sun, 5 May 2024 08:13:41 +1000 Subject: [PATCH] build(ui): enable TS `strictPropertyInitialization` https://www.typescriptlang.org/tsconfig/#strictPropertyInitialization --- invokeai/frontend/web/tsconfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/invokeai/frontend/web/tsconfig.json b/invokeai/frontend/web/tsconfig.json index 91906c9abe..b1e4ebfc0b 100644 --- a/invokeai/frontend/web/tsconfig.json +++ b/invokeai/frontend/web/tsconfig.json @@ -15,6 +15,7 @@ // "resolveJsonModule": true, "noUncheckedIndexedAccess": true, "strictNullChecks": true, + "strictPropertyInitialization": true, "isolatedModules": true, "noEmit": true, "jsx": "react-jsx",