mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 10:23:33 +00:00
10 lines
184 B
TypeScript
10 lines
184 B
TypeScript
|
|
import { ipcRenderer } from 'electron';
|
||
|
|
|
||
|
|
const removeAllListeners = (channel: string) => {
|
||
|
|
ipcRenderer.removeAllListeners(channel);
|
||
|
|
};
|
||
|
|
|
||
|
|
export const ipc = {
|
||
|
|
removeAllListeners,
|
||
|
|
};
|