chore: fix types

This commit is contained in:
alexander.akait 2023-04-11 21:08:09 +03:00
parent 519da161cc
commit fe65ecdc35
1 changed files with 1 additions and 1 deletions

View File

@ -288,7 +288,7 @@ const satisfy = (range, version) => {
if (0 in range) {
// @ts-expect-error
version = parseVersion(version);
var fixCount = range[0];
var fixCount = /** @type {number} */ (range[0]);
// when negated is set it swill set for < instead of >=
var negated = fixCount < 0;
if (negated) fixCount = -fixCount - 1;