// Type definitions for compare-func 1.3 // Project: https://github.com/stevemao/compare-func // Definitions by: Dogan Fennibay // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.4 type extractFunc = (e: T) => number | string; declare function compare_func(prop?: ReadonlyArray> | string | extractFunc): (e1: T, e2: T) => number; export = compare_func;