Type Alias: Emits<T>
Emits<
T
>:UnionToIntersection
<RecordToUnion
<{ [K in keyof T]: (evt: K, args: T[K]) => void }
>>
Type Parameters
• T extends Record
<string
, any
>
Defined in
packages/ui/types/components/shared.d.ts:24
Emits<
T
>:UnionToIntersection
<RecordToUnion
<{ [K in keyof T]: (evt: K, args: T[K]) => void }
>>
• T extends Record
<string
, any
>
packages/ui/types/components/shared.d.ts:24