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