export type IHandler = (e: T) => void;