diff --git a/src/renderer/src/global.d.ts b/src/renderer/src/global.d.ts index 607d83f..8d1a260 100644 --- a/src/renderer/src/global.d.ts +++ b/src/renderer/src/global.d.ts @@ -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 } }