typescript从5降到4解决,升级后报红,并且代码提示没有了 (Issue #738)

pull/755/head
zhangdaiscott 2023-09-01 10:27:57 +08:00
parent 71645504dd
commit cf8b299c2b
1 changed files with 0 additions and 10 deletions

10
src/env.d.ts vendored
View File

@ -1,10 +0,0 @@
/// <reference types="vite/client" />
interface ImportMetaEnv {
readonly VITE_APP_TITLE: string
// 更多环境变量...
}
interface ImportMeta {
readonly env: ImportMetaEnv
}