export interface IEventHandler { (): void; } export interface IEventHandlerT { (data: T): void; }