astro-ghostcms/.pnpm-store/v3/files/df/c3f8c95aa44e495fa39b09eac8f...

15 lines
436 B
Plaintext
Raw Normal View History

2024-02-14 14:10:47 +00:00
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;