-
Notifications
You must be signed in to change notification settings - Fork 30.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why react-router/history.d.ts ? #11514
Comments
I'm not the author but this seems sensible. As an aside react-router will be undergoing big changes with regards history anyway; see here: remix-run/react-router#3611 (comment) |
How can you install
but
is not a valid module name. Thanks! |
@remojansen You can't install the version of |
This version of history is missing the type for |
react-router/history.d.ts
.We have
history/history.d.ts
. Why isn'treact-router
using this?This file was added by #6073, but
history/history.d.ts
predates that PR. I don't see a reason why it was duplicated.Can we get rid of
react-router/history.d.ts
? Unfortunately the two files seem to have diverged, so this won't be easy. But they reference the same project, and have the same authors listed.The text was updated successfully, but these errors were encountered: