Skip to content
This repository was archived by the owner on Jan 8, 2024. It is now read-only.
This repository was 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

@zhy1440

Description

@zhy1440

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;

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions