refactor Setting
This commit is contained in:
8
examples/vite-env.d.ts
vendored
8
examples/vite-env.d.ts
vendored
@@ -5,3 +5,11 @@ declare module "*.vue" {
|
||||
}
|
||||
|
||||
declare module "prismjs";
|
||||
|
||||
interface ImportMetaEnv {
|
||||
readonly VITE_API: string;
|
||||
}
|
||||
|
||||
interface ImportMeta {
|
||||
readonly env: ImportMetaEnv
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user