diff --git a/types/env.d.ts b/types/env.d.ts index ba7399f1..e27ac22f 100644 --- a/types/env.d.ts +++ b/types/env.d.ts @@ -1,5 +1,3 @@ -/// - /** 声明 vite 环境变量的类型(如果未声明则默认是 any) */ declare interface ImportMetaEnv { readonly VITE_BASE_API: string diff --git a/types/shims-vue.d.ts b/types/shims-vue.d.ts index fc202124..4d4e42f9 100644 --- a/types/shims-vue.d.ts +++ b/types/shims-vue.d.ts @@ -1,9 +1,3 @@ -declare module "*.vue" { - import { DefineComponent } from "vue" - const component: DefineComponent<{}, {}, any> - export default component -} - declare module "*.scss" { const scss: Record export default scss