electron-tabs icon indicating copy to clipboard operation
electron-tabs copied to clipboard

Wrong type defined for once(type: string, fn: (detail: string) => void): void;

Open zhy1440 opened this issue 3 years ago • 0 comments

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;

zhy1440 avatar Jul 21 '22 02:07 zhy1440