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
The inferred type of 'loader' cannot be named without a reference to '.pnpm/@[email protected][email protected]/node_modules/@remix-run/server-runtime/dist/single-fetch'. This is likely not portable. A type annotation is necessary.ts(2742)
The inferred type of 'loader' cannot be named without a reference to '.pnpm/[email protected][email protected]/node_modules/react-router'. This is likely not portable. A type annotation is necessary.ts(2742)
This may be due to pnpm's strict dependencies isolation.
The text was updated successfully, but these errors were encountered:
Reproduction
Install packages with
pnpm
Try using the new
defineLoader
from unstable fetch.make sure to add
to
tsconfig.json
System Info
Used Package Manager
pnpm
Expected Behavior
The code to work correctly
Actual Behavior
I get the following typescript errors:
This may be due to pnpm's strict dependencies isolation.
The text was updated successfully, but these errors were encountered: