跳至主要内容
版本:22.5.0

EventsWithWildcard 类型

签名:

export type EventsWithWildcard<Events extends Record<EventType, unknown>> =
Events & {
'*': Events[keyof Events];
};

引用: EventType