| 2 | |
| 3 | declare global { |
| 4 | interface Window { |
| 5 | electron: { |
| 6 | ipcRenderer: { |
| 7 | sendMessage<T>(channel: Channels, ...args: T[]): void; |
| 8 | on<T>( |
| 9 | channel: string, |
| 10 | func: (...args: T[]) => void |
| 11 | ): (() => void) | undefined; |
| 12 | once<T>(channel: string, func: (...args: T[]) => void): void; |
| 13 | invoke<T, P>(channel: string, ...args: T[]): Promise<P>; |
| 14 | removeListener<T>(channel: string, func: (...args: T[]) => void): void; |
| 15 | removeAllListeners(channel: string): void; |
| 16 | }; |
| 17 | store: { |
| 18 | /* eslint-disable @typescript-eslint/no-explicit-any */ |
| 19 | get: (key: string) => any; |
| 20 | set: (key: string, val: any) => void; |
| 21 | }; |
| 22 | }; |
| 23 | responsively: { |
| 24 | webviewPreloadPath: string; |
| 25 | }; |
| 26 | } |
| 27 | } |
| 28 | |
| 29 | export {}; |
nothing calls this directly
no outgoing calls
no test coverage detected