-
In v6 we had:
After updating imports:
I'm thinking the issue is
How do I get the new types needed to type the function I pass into |
Beta Was this translation helpful? Give feedback.
Replies: 0 comments 1 reply
-
Nevermind, looks like I needed to restart my TypeScript server so it'd stop complaining about the imports after I updated my dependencies. With v7 I was able to remove the |
Beta Was this translation helpful? Give feedback.
Nevermind, looks like I needed to restart my TypeScript server so it'd stop complaining about the imports after I updated my dependencies.
With v7 I was able to remove the
@remix-run/router
dependency from my project, as all the types I was using are now exported from the react-router import:https://github.com/remix-run/react-router/blob/main/packages/react-router/index.ts#L18