react-router
react-router copied to clipboard
refactor(react-router): simplify types
I could have gone with Omit, which would be less code, but I like the explicitness of Pick more in these cases
⚠️ No Changeset found
Latest commit: 4344f9269d33dd13e0609d194b26ec82c2d44f9b
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
This PR includes no changesets
When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
I actually had some something similar a while back to DRY it up a bit Michael and I agreed that it was easier to read the current definitions at a glance at the expense of some non-DRY code. These also change pretty infrequently so it's not something we have to remember to change in multiple places often.