Open zhy1440 opened 2 years ago
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;
on(type: string, fn: (...detail: any[]) => 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;