From 2ad674b0b066fe8cf8558f7c3f5c4ae35f728aed Mon Sep 17 00:00:00 2001 From: pany <939630029@qq.com> Date: Thu, 22 Feb 2024 18:52:25 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20remove=20=E2=80=98declare=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/env.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/env.d.ts b/types/env.d.ts index 288f104..7856644 100644 --- a/types/env.d.ts +++ b/types/env.d.ts @@ -1,5 +1,5 @@ /** 声明 vite 环境变量的类型(如果未声明则默认是 any) */ -declare interface ImportMetaEnv { +interface ImportMetaEnv { readonly VITE_APP_TITLE: string readonly VITE_BASE_API: string readonly VITE_ROUTER_HISTORY: "hash" | "html5"