@types/semver-sort
Version:
TypeScript definitions for semver-sort
24 lines (17 loc) • 806 B
Markdown
# Installation
> `npm install --save @types/semver-sort`
# Summary
This package contains type definitions for semver-sort (https://github.com/ragingwind/semver-sort).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/semver-sort.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/semver-sort/index.d.ts)
````ts
declare function asc(versions: readonly string[]): string[];
declare function desc(versions: readonly string[]): string[];
export { asc, desc };
````
### Additional Details
* Last updated: Mon, 20 Nov 2023 23:36:24 GMT
* Dependencies: none
# Credits
These definitions were written by [Leonid Logvinov](https://github.com/LogvinovLeon), and [Dániel Tar](https://github.com/qcz).