10 lines
398 B
TypeScript
Executable File
10 lines
398 B
TypeScript
Executable File
// 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;
|