Installation
npm install --save @types/buffer-compare
Summary
This package contains type definitions for buffer-compare (https://github.com/soldair/node-buffer-compare).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/buffer-compare.
index.d.ts
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;
Additional Details
- Last updated: Mon, 06 Nov 2023 22:41:05 GMT
- Dependencies: none
Credits
These definitions were written by Ilya Mochalov.