2021-09-09 10:17:30 +08:00

17 lines
339 B
TypeScript

declare namespace NodeJS {
interface ProcessEnv {
readonly NODE_ENV: 'development' | 'production'
readonly PORT: string
}
}
interface Window {
/** 关闭预加载动画 */
removeLoading: () => void
/** NodeJs fs */
fs: typeof import('fs')
/** Electron ipcRenderer */
ipcRenderer: import('electron').IpcRenderer
}