From faf67489b44a73fcf8da71c04fbb6e17f97c5f72 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Fri, 15 Feb 2019 21:02:09 +0500 Subject: [PATCH] Improve return types Co-Authored-By: doniyor2109 --- types/natural-compare-lite/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {