mirror of
https://github.com/Zagrios/bs-manager.git
synced 2026-07-03 14:08:25 +02:00
19 lines
419 B
TypeScript
19 lines
419 B
TypeScript
import { Channels, ReplyChannels } from 'main/preload';
|
|
|
|
declare global {
|
|
interface Window {
|
|
electron: {
|
|
ipcRenderer: {
|
|
sendMessage(channel: Channels, args: any): void;
|
|
on(
|
|
channel: ReplyChannels,
|
|
func: (...args: any) => void
|
|
): (() => void) | undefined;
|
|
once(channel: ReplyChannels, func: (...args: any) => void): void;
|
|
};
|
|
};
|
|
}
|
|
}
|
|
|
|
export {};
|