1 | # Installation
|
2 | > `npm install --save @types/natural-compare`
|
3 |
|
4 | # Summary
|
5 | This package contains type definitions for natural-compare (https://github.com/litejs/natural-compare-lite).
|
6 |
|
7 | # Details
|
8 | Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/natural-compare.
|
9 | ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/natural-compare/index.d.ts)
|
10 | ````ts
|
11 | declare function naturalCompare(a: string, b: string): -1 | 0 | 1;
|
12 | declare function naturalCompare(a: number, b: number): -1 | 0 | 1;
|
13 |
|
14 | export = naturalCompare;
|
15 |
|
16 | ````
|
17 |
|
18 | ### Additional Details
|
19 | * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
|
20 | * Dependencies: none
|
21 |
|
22 | # Credits
|
23 | These definitions were written by [Doniyor Aliyev](https://github.com/doniyor2109).
|
24 |
|
\ | No newline at end of file |