From 4bc072c013edf6d1e180bd9b3f518c9e87bf110e Mon Sep 17 00:00:00 2001 From: Adrian <107351903+6lr61@users.noreply.github.com> Date: Tue, 10 Sep 2024 12:17:46 +0200 Subject: [PATCH] chore: use explicit type imports --- eslint.config.mjs | 1 + tsconfig.app.json | 1 + 2 files changed, 2 insertions(+) diff --git a/eslint.config.mjs b/eslint.config.mjs index 37715d8..33e59d3 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -31,6 +31,7 @@ export default tseslint.config( "warn", { allowConstantExport: true }, ], + "@typescript-eslint/consistent-type-imports": ["error"], }, } ); diff --git a/tsconfig.app.json b/tsconfig.app.json index f0a2350..8cee681 100644 --- a/tsconfig.app.json +++ b/tsconfig.app.json @@ -5,6 +5,7 @@ "lib": ["ES2020", "DOM", "DOM.Iterable"], "module": "ESNext", "skipLibCheck": true, + "verbatimModuleSyntax": true, /* Bundler mode */ "moduleResolution": "bundler",