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
4
src/renderer/src/global.d.ts
vendored
4
src/renderer/src/global.d.ts
vendored
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user