Files
Andy Hanson 89fa98a712 WIP
WIP

WIP

WIP

WIP

WIP

WIP: Remove trailing newlines

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP: All tests pass

WIP

WIP

WIP
2016-11-28 11:16:06 -08:00

17 lines
477 B
TypeScript

// Type definitions for buffer-compare
// Project: https://github.com/soldair/node-buffer-compare
// Definitions by: Ilya Mochalov <https://github.com/chrootsu>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
interface List {
[index: number]: any;
length: number;
}
declare function compare(cmp: List, to: List): number;
declare function compare<T>(cmp: T, to: T): number;
declare function compare<C, T>(cmp: C, to: T): number;
export = compare;