From 456ad409a15c17d14df928a357e3956d5df30f25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BF=A0=20/=20green?= Date: Tue, 7 Jan 2025 12:13:28 +0900 Subject: [PATCH] chore: remove `declare` keyword --- docs/guide/env-and-mode.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/env-and-mode.md b/docs/guide/env-and-mode.md index 647ba94325e587..5a375746da9ea7 100644 --- a/docs/guide/env-and-mode.md +++ b/docs/guide/env-and-mode.md @@ -87,7 +87,7 @@ To achieve this, you can create an `vite-env.d.ts` in `src` directory, then augm /// // By adding this line, you can make the type of ImportMetaEnv strict. -declare type ViteStrictImportMetaEnv = true +type ViteStrictImportMetaEnv = true interface ImportMetaEnv { readonly VITE_APP_TITLE: string