npm.io
1.0.3 • Published 2 years ago

@types/semver-compare

Licence
MIT
Version
1.0.3
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

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

declare function semverCompare(a: string, b: string): -1 | 0 | 1;

export = semverCompare;

Additional Details

  • Last updated: Tue, 07 Nov 2023 1536 GMT
  • Dependencies: none

Credits

These definitions were written by Kovács Vince, and Linus Unnebäck.