electron-tabs
electron-tabs copied to clipboard
Wrong type defined for once(type: string, fn: (detail: string) => void): void;
Describe the bug
The parameters of the callback function should not be a string. once(type: string, fn: (detail: string) => void): void;
It should be similar to on(type: string, fn: (...detail: any[]) => void): void;