mirror of
https://github.com/electron-vite/electron-vite-vue
synced 2025-01-19 20:07:06 +08:00
19 lines
394 B
TypeScript
19 lines
394 B
TypeScript
|
|
declare namespace NodeJS {
|
|
interface ProcessEnv {
|
|
readonly NODE_ENV: 'development' | 'production'
|
|
readonly HOST: string
|
|
readonly PORT: string
|
|
readonly PORT_WS: string
|
|
}
|
|
}
|
|
|
|
interface Window {
|
|
/** 关闭预加载动画 */
|
|
removeLoading: () => void
|
|
/** NodeJs fs */
|
|
fs: typeof import('fs')
|
|
/** Electron ipcRenderer */
|
|
ipcRenderer: import('electron').IpcRenderer
|
|
}
|