optimize(types): Enhance compatibility of global types (#494)

This commit is contained in:
青菜白玉汤
2024-06-14 18:11:01 +08:00
committed by GitHub
parent 2198b982f0
commit cd9d58d4de
2 changed files with 26 additions and 22 deletions

View File

@@ -105,3 +105,7 @@ declare namespace Env {
readonly VITE_STORAGE_PREFIX?: string;
}
}
interface ImportMeta {
readonly env: Env.ImportMeta;
}