UNPKG

238 BTypeScriptView Raw
1declare type ICompare<T> = (a: T, b: T) => boolean;
2declare type ICompareOne<T> = (a: T) => 0 | 1 | -1;
3declare type IEqualCompare<T> = (a: T, b: T) => 0 | 1 | -1;
4export { ICompare, IEqualCompare, ICompareOne };
5export default ICompare;