mirror of
https://github.com/electron-vite/electron-vite-vue
synced 2025-01-19 11:56:36 +08:00
Update global.d.ts
This commit is contained in:
parent
1aafb2f1bb
commit
ad3172def0
10
src/renderer/src/global.d.ts
vendored
10
src/renderer/src/global.d.ts
vendored
@ -3,11 +3,9 @@ export { }
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
/** Expose some Api through preload script */
|
||||
bridge: {
|
||||
fs: typeof import('fs')
|
||||
ipcRenderer: import('electron').IpcRenderer
|
||||
removeLoading: () => void
|
||||
}
|
||||
// Expose some Api through preload script
|
||||
fs: typeof import('fs')
|
||||
ipcRenderer: import('electron').IpcRenderer
|
||||
removeLoading: () => void
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user