add electron-env.d.ts

This commit is contained in:
草鞋没号 committed 2022-07-02 11:10:16 +08:00
1 parent f84089beec
commit cc8d92c517
1 file changed
+7
+7
View File
@@ -0,0 +1,7 @@
declare namespace NodeJS {
interface ProcessEnv {
NODE_ENV: 'development' | 'production'
readonly VITE_DEV_SERVER_HOST: string
readonly VITE_DEV_SERVER_PORT: string
}
}