add electron-env.d.ts

This commit is contained in:
草鞋没号 2022-07-02 11:10:16 +08:00
parent f84089beec
commit cc8d92c517
1 changed files with 7 additions and 0 deletions

7
electron/electron-env.d.ts vendored Normal file
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
}
}