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

1.4.3 • Public • Published

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

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: Tue, 07 Nov 2023 09:09:39 GMT
  • Dependencies: none

Credits

These definitions were written by Doniyor Aliyev.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/natural-compare

Weekly Downloads

23,557

Version

1.4.3

License

MIT

Unpacked Size

2.92 kB

Total Files

5

Last publish

Collaborators

  • types