mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 12:30:18 +00:00
Improve return types
Co-Authored-By: doniyor2109 <doniyor2109@gmail.com>
This commit is contained in:
co-authored by
doniyor2109
parent
e44ef37846
commit
faf67489b4
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user