Files
SnowLuma/.pnpm-store/v11/files/4e/96826284c0cd3e011fd127eb1d1310157d296f2ee653f26944bd38a7f534af1a4d34a9c5e9e2ebf5a43baf7987ff9cdc4d27f50d2902bf8fea78698d21579f
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

18 lines
514 B
Plaintext

import semver = require("../index");
import SemVer = require("./semver");
declare class Comparator {
constructor(comp: string | Comparator, optionsOrLoose?: boolean | semver.Options);
semver: SemVer;
operator: "" | "=" | "<" | ">" | "<=" | ">=";
value: string;
loose: boolean;
options: semver.Options;
parse(comp: string): void;
test(version: string | SemVer): boolean;
intersects(comp: Comparator, optionsOrLoose?: boolean | semver.Options): boolean;
}
export = Comparator;