Dev Build / cleanup (push) Canceled after 0s
Dev Build / typecheck (push) Canceled after 0s
Dev Build / build (linux-arm64, ubuntu-24.04-arm, linux-arm64) (push) Canceled after 0s
Dev Build / build (linux-x64, ubuntu-latest, linux-x64) (push) Canceled after 0s
Dev Build / build (win-x64, windows-latest, win32-x64) (push) Canceled after 0s
Dev Build / dispatch-dev-docker (push) Canceled after 0s
18 lines
514 B
Plaintext
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;
|