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