communication declare

This commit is contained in:
草鞋没号
2021-09-09 10:17:30 +08:00
parent a9ad136d11
commit aeb1b6f4e3
3 changed files with 14 additions and 6 deletions

4
typings/global.d.ts vendored
View File

@@ -9,4 +9,8 @@ declare namespace NodeJS {
interface Window {
/** 关闭预加载动画 */
removeLoading: () => void
/** NodeJs fs */
fs: typeof import('fs')
/** Electron ipcRenderer */
ipcRenderer: import('electron').IpcRenderer
}