export interface ICondition { (): boolean; } export interface IConditionT { (data: T): boolean; }