From 3fb637e971284abf3aa1fc42f39f9cb5d0f52d25 Mon Sep 17 00:00:00 2001 From: Andrei Picus Date: Sun, 11 Jun 2023 17:03:09 +0200 Subject: [PATCH] build: Enable `strict` Fixes #317. --- apps/nextjs/tsconfig.json | 2 +- tsconfig.build.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/nextjs/tsconfig.json b/apps/nextjs/tsconfig.json index 3b6db9dd..d1ac62cc 100644 --- a/apps/nextjs/tsconfig.json +++ b/apps/nextjs/tsconfig.json @@ -8,7 +8,7 @@ "esnext" ], "allowJs": true, - "strict": false, + "strict": true, "forceConsistentCasingInFileNames": true, "noEmit": true, "esModuleInterop": true, diff --git a/tsconfig.build.json b/tsconfig.build.json index a3b35787..68723947 100644 --- a/tsconfig.build.json +++ b/tsconfig.build.json @@ -3,6 +3,7 @@ "module": "commonjs", "target": "es5", "sourceMap": true, + "strict": true, "declaration": true, "declarationMap": true, "noEmitOnError": true,