UNPKG

@types/semver-compare

Version:
23 lines (16 loc) 768 B
# Installation > `npm install --save @types/semver-compare` # Summary This package contains type definitions for semver-compare (https://github.com/substack/semver-compare). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/semver-compare. ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/semver-compare/index.d.ts) ````ts declare function semverCompare(a: string, b: string): -1 | 0 | 1; export = semverCompare; ```` ### Additional Details * Last updated: Tue, 07 Nov 2023 15:11:36 GMT * Dependencies: none # Credits These definitions were written by [Kovács Vince](https://github.com/vincekovacs), and [Linus Unnebäck](https://github.com/LinusU).