export type TEventHandler<T, U extends Event = Event> = (ThisType<T> & { handler(event: U): void })['handler'];
