From df4ff20df845d0ca98e66697a7596fa51767c48a Mon Sep 17 00:00:00 2001 From: pany <939630029@qq.com> Date: Mon, 24 Jul 2023 13:41:08 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=20vite/client=20?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/env.d.ts | 2 -- types/shims-vue.d.ts | 6 ------ 2 files changed, 8 deletions(-) diff --git a/types/env.d.ts b/types/env.d.ts index ba7399f..e27ac22 100644 --- a/types/env.d.ts +++ b/types/env.d.ts @@ -1,5 +1,3 @@ -/// <reference types="vite/client" /> - /** 声明 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 fc20212..4d4e42f 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<string, string> export default scss