1 | // Type definitions for natural-compare 1.4
|
2 | // Project: https://github.com/litejs/natural-compare-lite
|
3 | // Definitions by: Doniyor Aliyev <https://github.com/doniyor2109>
|
4 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
5 |
|
6 | declare function naturalCompare(a: string, b: string): -1 | 0 | 1;
|
7 | declare function naturalCompare(a: number, b: number): -1 | 0 | 1;
|
8 |
|
9 | export = naturalCompare;
|