OnEventNames type

type OnEventNames<TEmitter, TEventRecord, TEmitRecord> = keyof TEventRecord