diff --git a/types/natural-compare-lite/index.d.ts b/types/natural-compare-lite/index.d.ts index 414dcf9233..9811d4baa8 100644 --- a/types/natural-compare-lite/index.d.ts +++ b/types/natural-compare-lite/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: Doniyor Aliyev // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare function naturalCompare(a: string, b: string): number; +declare function naturalCompare(a: string, b: string): -1 | 0 | 1; declare global { interface StringConstructor {