typescript从5降到4解决,升级后报红,并且代码提示没有了 (Issue #738)
parent
71645504dd
commit
cf8b299c2b
|
@ -1,10 +0,0 @@
|
|||
/// <reference types="vite/client" />
|
||||
|
||||
interface ImportMetaEnv {
|
||||
readonly VITE_APP_TITLE: string
|
||||
// 更多环境变量...
|
||||
}
|
||||
|
||||
interface ImportMeta {
|
||||
readonly env: ImportMetaEnv
|
||||
}
|
Loading…
Reference in New Issue