Skip to content

Commit d5ba3a1

Browse files
authored
chore(yarn-plugin-dynamic-extensions): fix types for fslib (#3541)
1 parent fa47256 commit d5ba3a1

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

.changeset/witty-mugs-dance.md

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

incubator/yarn-plugin-dynamic-extensions/index.js

-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ exports.factory = (require) => {
6262
return;
6363
}
6464

65-
// @ts-expect-error Cannot find module or its corresponding type declarations
6665
const { npath } = require("@yarnpkg/fslib");
6766

6867
const root = npath.fromPortablePath(projectCwd);

incubator/yarn-plugin-dynamic-extensions/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@
3434
"@rnx-kit/eslint-config": "*",
3535
"@rnx-kit/scripts": "*",
3636
"@rnx-kit/tsconfig": "*",
37-
"@yarnpkg/core": "^4.0.0"
37+
"@yarnpkg/core": "^4.0.0",
38+
"@yarnpkg/fslib": "^3.1.1"
3839
},
3940
"experimental": true
4041
}

yarn.lock

+1
Original file line numberDiff line numberDiff line change
@@ -4681,6 +4681,7 @@ __metadata:
46814681
"@rnx-kit/scripts": "npm:*"
46824682
"@rnx-kit/tsconfig": "npm:*"
46834683
"@yarnpkg/core": "npm:^4.0.0"
4684+
"@yarnpkg/fslib": "npm:^3.1.1"
46844685
languageName: unknown
46854686
linkType: soft
46864687

0 commit comments

Comments
 (0)