17 lines
321 B
TypeScript
17 lines
321 B
TypeScript
|
|
export {}
|
|
|
|
declare global {
|
|
interface Window {
|
|
/** Expose some Api through preload script */
|
|
bridge: {
|
|
__dirname: string
|
|
__filename: string
|
|
fs: typeof import('fs')
|
|
path: typeof import('path')
|
|
ipcRenderer: import('electron').IpcRenderer
|
|
removeLoading: () => void
|
|
}
|
|
}
|
|
}
|