Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

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

Open
zhy1440 opened this issue Jul 21, 2022 · 0 comments
Labels

Comments

@zhy1440
Copy link

zhy1440 commented Jul 21, 2022

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 zhy1440 added the bug label Jul 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant