chore: use reference electron-env.d.ts type

This commit is contained in:
草鞋没号 committed 2022-07-22 15:26:37 +08:00
1 parent c420f35805
commit ad1096433e
1 file changed
+1 -7
+1 -7
View File
@@ -1,7 +1 @@
declare namespace NodeJS {
interface ProcessEnv {
NODE_ENV: 'development' | 'production'
readonly VITE_DEV_SERVER_HOST: string
readonly VITE_DEV_SERVER_PORT: string
}
}
/// <reference types="vite-plugin-electron/electron-env" />