Files
SnowLuma/.pnpm-store/v11/files/df/c3f8c95aa44e495fa39b09eac8f57ec5c9d4d6fdc4e2737ae526c4b5a85d7421980c7f2f1b4d8d1cca10a589b1cdabd2d0069a132a8de7ecdf892c5c93c1d7
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

15 lines
436 B
Plaintext

import Range = require("../classes/range");
import SemVer = require("../classes/semver");
import semver = require("../index");
/**
* Return the highest version in the list that satisfies the range, or null if none of them do.
*/
declare function maxSatisfying<T extends string | SemVer>(
versions: readonly T[],
range: string | Range,
optionsOrLoose?: boolean | semver.RangeOptions,
): T | null;
export = maxSatisfying;