You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's something that happens to work with npm's hoisting algorithm, but does not work with pnpm with hoist=false or with Yarn PnP (see "Ghost dependencies protection"), and may not even work with npm in the future depending on the outcome of npm/rfcs#287.
Packages should always declare dependencies for packages they directly require or import, and not rely on transitive dependencies getting hoisted.
What version of React Router are you using?
6.16.0
Steps to Reproduce
tsconfig.json:
index.ts:
Run
pnpm tsc
.Expected Behavior
pnpm tsc
runs without errors.Actual Behavior
The text was updated successfully, but these errors were encountered: