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
@Varkoff I'm getting a different error when I clone that repo and try to run npm run typecheck:
❯ npm run typecheck
> typecheck
> react-router typegen && tsc
error TS2688: Cannot find type definition file for'@remix-run/node'.
The file is in the program because:
Entry point of type library '@remix-run/node' specified in compilerOptions
tsconfig.json:13:15
13 "types": ["@remix-run/node", "vite/client"],
~~~~~~~~~~~~~~~~~
File is entry point of type library specified here.
Found 1 error.
Not sure why that's happening, haven't dug into it. Any chance you can provide a better reproduction of your issue?
I'm using React Router as a...
framework
Reproduction
Unfortunately Stackblitz does not support Node v20. Check reproduction code here :
https://github.com/Varkoff/react-router-type-error-with-markdoc
Since upgrading to React Router v7.2.0, I've been getting this
Type 'unknown' is not assignable to type 'RenderableTreeNodes'.ts(2322)
error.Can you please take a look @pcattori ?
System Info
Used Package Manager
npm
Expected Behavior
I would like to not have the type error.
Actual Behavior
I am getting type errors, which prevent me to update code without adding @ts-ignore or @ts-expect-error flags. CI fails.
The text was updated successfully, but these errors were encountered: