Files
SnowLuma/.pnpm-store/v11/files/31/deec6de603c84ebb293c68c52af2227a2ac200467c54dc7c075c362f67dba9382ec251d5afd186cbbd19435de893b6332aa8047000a222c3a607fb27a88b86
T
TanTan 2a69b23b47
Dev Build / cleanup (push) Waiting to run
Dev Build / typecheck (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

17 lines
500 B
Plaintext

import semver = require("../index");
import SemVer = require("../classes/semver");
/**
* Pass in a comparison string, and it'll call the corresponding semver comparison function.
* "===" and "!==" do simple string comparison, but are included for completeness.
* Throws if an invalid comparison string is provided.
*/
declare function cmp(
v1: string | SemVer,
operator: semver.Operator,
v2: string | SemVer,
optionsOrLoose?: boolean | semver.Options,
): boolean;
export = cmp;