Skip to content

Commit

Permalink
chore: remove declare keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red authored Jan 7, 2025
1 parent 2ca9ac1 commit 456ad40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/env-and-mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ To achieve this, you can create an `vite-env.d.ts` in `src` directory, then augm
/// <reference types="vite/client" />

// 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
Expand Down

0 comments on commit 456ad40

Please # to comment.