export type ICallback = (data: T, event) => void;