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
Install react-router-dom@6.23.0
Open node_modules/react-router-dom/server.d.ts
There is no ./index file in the root folder to import from. (it is inside dist)
What version of React Router are you using?
6.23.0
Steps to Reproduce
Install
react-router-dom@6.23.0
Open
node_modules/react-router-dom/server.d.ts
There is no
./index
file in the root folder to import from. (it is insidedist
)Potential cause: here
Typescript version: ^5
Expected Behavior
No type error
Actual Behavior
Cannot find module './index' or its corresponding type declarations.ts(2307)
The text was updated successfully, but these errors were encountered: