@types/buffer-compare
TypeScript icon, indicating that this package has built-in type declarations

0.0.33 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/buffer-compare

Weekly Downloads

36

Version

0.0.33

License

MIT

Unpacked Size

3.08 kB

Total Files

5

Last publish

Collaborators

  • types