1
0
mirror of https://github.com/upscayl/upscayl.git synced 2024-09-24 11:28:25 +02:00
upscayl/renderer/renderer.d.ts
2022-11-12 02:09:28 +05:30

14 lines
263 B
TypeScript

import { IpcRenderer } from "electron";
export interface IElectronAPI {
on: (command, func?) => IpcRenderer;
send: (command, func?) => IpcRenderer;
invoke: (command, func?) => any;
}
declare global {
interface Window {
electron: IElectronAPI;
}
}