mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
semver-compare: fix typings of semverCompare (#40300)
This commit is contained in:
parent
ef8b83ff27
commit
db08b832fa
3
types/semver-compare/index.d.ts
vendored
3
types/semver-compare/index.d.ts
vendored
@ -1,8 +1,9 @@
|
||||
// Type definitions for semver-compare 1.0
|
||||
// Project: https://github.com/substack/semver-compare
|
||||
// Definitions by: Kovács Vince <https://github.com/vincekovacs>
|
||||
// Linus Unnebäck <https://github.com/LinusU>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare function semverCompare<T>(a: T, b: T): number;
|
||||
declare function semverCompare(a: string, b: string): -1 | 0 | 1;
|
||||
|
||||
export = semverCompare;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user