Update global.d.ts

This commit is contained in:
草鞋没号 2021-11-15 23:16:10 +08:00 committed by GitHub
parent 1aafb2f1bb
commit ad3172def0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,11 +3,9 @@ export { }
declare global { declare global {
interface Window { interface Window {
/** Expose some Api through preload script */ // Expose some Api through preload script
bridge: { fs: typeof import('fs')
fs: typeof import('fs') ipcRenderer: import('electron').IpcRenderer
ipcRenderer: import('electron').IpcRenderer removeLoading: () => void
removeLoading: () => void
}
} }
} }