types.d.ts -> electron/electron-env.d.ts

This commit is contained in:
younglei
2022-07-02 22:28:05 +08:00
parent 2dae540bce
commit 2abbae8dc7

8
electron/electron-env.d.ts vendored Normal file
View File

@@ -0,0 +1,8 @@
declare namespace NodeJS {
interface ProcessEnv {
NODE_ENV: 'development' | 'production'
readonly VITE_DEV_SERVER_HOST: string
readonly VITE_DEV_SERVER_PORT: string
}
}