Skip to main content

ReactiveEvents

type ReactiveEvents<Events extends Record<string, any>>= { [ K in keyof Events as `on"${Capitalize<string & K>}` ] :  ((callback: ((...args: ReactiveEventParameters<Events, K & string>) => void)) => void) }