Skip to content

@vtj


@vtj / ui / Emits

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

Released under the MIT License.