node-jest/types-natural-compare
Lu zhiping c0606860b8 Import Upstream version 27.5.1~ds+~cs69.51.22 2022-07-16 13:02:45 +08:00
..
LICENSE Import Upstream version 27.5.1~ds+~cs69.51.22 2022-07-16 13:02:45 +08:00
README.md Import Upstream version 27.5.1~ds+~cs69.51.22 2022-07-16 13:02:45 +08:00
index.d.ts Import Upstream version 27.5.1~ds+~cs69.51.22 2022-07-16 13:02:45 +08:00
package.json Import Upstream version 27.5.1~ds+~cs69.51.22 2022-07-16 13:02:45 +08:00

README.md

Installation

npm install --save @types/natural-compare

Summary

This package contains type definitions for natural-compare (https://github.com/litejs/natural-compare-lite).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/natural-compare.

index.d.ts

// Type definitions for natural-compare 1.4
// Project: https://github.com/litejs/natural-compare-lite
// Definitions by: Doniyor Aliyev <https://github.com/doniyor2109>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

declare function naturalCompare(a: string, b: string): -1 | 0 | 1;
declare function naturalCompare(a: number, b: number): -1 | 0 | 1;

export = naturalCompare;

Additional Details

  • Last updated: Thu, 01 Jul 2021 14:31:23 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Doniyor Aliyev.