mirror of https://github.com/webpack/webpack.git
chore: fix types
This commit is contained in:
parent
519da161cc
commit
fe65ecdc35
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue