From 30d9e949e5ba76de3c38e341bfdb6499739f0376 Mon Sep 17 00:00:00 2001 From: Colin Rotherham Date: Fri, 18 Aug 2023 15:33:12 +0100 Subject: [PATCH] Enable compiler `"strict": true` in GOV.UK Frontend source Built source files only, excluding tasks and tests --- packages/govuk-frontend/tsconfig.build.json | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/govuk-frontend/tsconfig.build.json b/packages/govuk-frontend/tsconfig.build.json index 1cad87c1ca..f69b767483 100644 --- a/packages/govuk-frontend/tsconfig.build.json +++ b/packages/govuk-frontend/tsconfig.build.json @@ -4,6 +4,7 @@ "exclude": ["**/*.test.*"], "compilerOptions": { "lib": ["ESNext", "DOM"], + "strict": true, "target": "ES2015", "types": ["node"] }