()
| 368 | const eventTypes = [Function, Array] |
| 369 | |
| 370 | export function eventProp<F extends AnyFunction = VoidFunction>() { |
| 371 | return eventTypes as PropType<MaybeArray<F>> |
| 372 | } |
| 373 | |
| 374 | export function emitEvent<A extends any[]>( |
| 375 | handlers: MaybeArray<(...args: A) => void> | undefined, |