From a9947f7364952f7380c95035fff4a19d6f3a9c39 Mon Sep 17 00:00:00 2001 From: David Juhasz Date: Fri, 21 Jun 2024 17:00:27 -0700 Subject: [PATCH] Fix linter warning about vue-router/auto imports --- dashboard/src/env.d.ts | 1 + dashboard/tsconfig.vitest.json | 7 +------ 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/dashboard/src/env.d.ts b/dashboard/src/env.d.ts index 1402a3194..8603b90fa 100644 --- a/dashboard/src/env.d.ts +++ b/dashboard/src/env.d.ts @@ -1,6 +1,7 @@ /// /// /// +/// declare module "*.vue" { import type { DefineComponent } from "vue"; diff --git a/dashboard/tsconfig.vitest.json b/dashboard/tsconfig.vitest.json index 3619a0a10..9c86142b5 100644 --- a/dashboard/tsconfig.vitest.json +++ b/dashboard/tsconfig.vitest.json @@ -4,11 +4,6 @@ "compilerOptions": { "composite": true, "lib": [], - "types": [ - "node", - "jsdom", - "@vue-macros/reactivity-transform/macros-global", - "unplugin-vue-router/client" - ] + "types": ["node", "jsdom", "@vue-macros/reactivity-transform/macros-global"] } }