diff --git a/docs/guide/env-and-mode.md b/docs/guide/env-and-mode.md index 43092de2dabf62..647ba94325e587 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; +declare type ViteStrictImportMetaEnv = true interface ImportMetaEnv { readonly VITE_APP_TITLE: string