Improve return types

Co-Authored-By: doniyor2109 <doniyor2109@gmail.com>
This commit is contained in:
Simen Bekkhus
2019-02-15 21:02:09 +05:00
committed by GitHub
co-authored by doniyor2109
parent e44ef37846
commit faf67489b4
+1 -1
View File
@@ -3,7 +3,7 @@
// Definitions by: Doniyor Aliyev <https://github.com/doniyor2109>
// 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 {