mirror of
https://github.com/denoland/std.git
synced 2024-11-22 04:59:05 +00:00
deprecation(semver): deprecate rcompare()
(#3958)
* initial commit * Update semver/rcompare.ts Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com> --------- Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
This commit is contained in:
parent
49efcbdeb6
commit
45c8201a70
@ -7,6 +7,7 @@ import { compare } from "./compare.ts";
|
||||
* `1` and `-1` are inverted.
|
||||
*
|
||||
* Sorts in descending order if passed to `Array.sort()`,
|
||||
* @deprecated (will be removed in 0.212.0) Use {@linkcode compare} instead.
|
||||
*/
|
||||
export function rcompare(
|
||||
s0: SemVer,
|
||||
|
Loading…
Reference in New Issue
Block a user