Skip to content

Commit 61ca304

Browse files
committed
fix: correct types
1 parent 0dec9ad commit 61ca304

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/PnpPlugin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ module.exports = class PnpPlugin {
5050
const packageName = packageMatch[0];
5151
const innerRequest = `.${req.slice(packageName.length)}`;
5252

53-
/** @type {string|undefined} */
53+
/** @type {string|undefined|null} */
5454
let resolution;
55-
/** @type {string|undefined} */
55+
/** @type {string|undefined|null} */
5656
let apiResolution;
5757
try {
5858
resolution = this.pnpApi.resolveToUnqualified(packageName, issuer, {

0 commit comments

Comments
 (0)