mirror of
https://github.com/ThaUnknown/miru.git
synced 2026-03-16 19:16:20 +00:00
16 lines
502 B
TypeScript
16 lines
502 B
TypeScript
export {}
|
|
|
|
declare global {
|
|
interface Window {
|
|
IPC: any;
|
|
port: MessagePort
|
|
}
|
|
interface EventTarget {
|
|
on: (type: string, callback: (any) => void, options?: boolean | {}) => void
|
|
once: (type: string, callback: (any) => void, options?: boolean | {}) => void
|
|
emit: (type: string, data?: any) => void
|
|
dispatch: (type: string, data?: any) => void
|
|
removeListener: (type: string, callback: (any) => void) => void
|
|
off: (type: string, callback: (any) => void) => void
|
|
}
|
|
}
|