From 063b4464919573da9f81c7920105cb0942451b38 Mon Sep 17 00:00:00 2001 From: Evan Hahn Date: Tue, 24 Sep 2024 10:17:27 -0500 Subject: [PATCH] chore: enable `noUncheckedSideEffectImports` TypeScript option (#861) This change should have no user impact. [`noUncheckedSideEffectImports`][0] checks side-effect imports, such as: ```typescript // Not actually importing anything from this module. import 'example' ``` This enables that option. No code changes were required; it may help avoid future mistakes. [0]: https://www.typescriptlang.org/tsconfig/#noUncheckedSideEffectImports --- tsconfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/tsconfig.json b/tsconfig.json index 8d519597..e211f19c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,6 +4,7 @@ "lib": ["es2022"], "noImplicitAny": true, "noImplicitThis": true, + "noUncheckedSideEffectImports": true, "strictNullChecks": true, "strictBindCallApply": true, "strictFunctionTypes": true,