Uh oh!
There was an error while loading. Please reload this page.
fix(react-router): Fix config type import - #15583
Merged
Merged
Conversation
namoscato
marked this pull request as ready for review
March 5, 2025 01:49
lforst
approved these changes
Mar 5, 2025
lforst
commented
Mar 5, 2025
Contributor
Thanks! |
lforst
commented
Mar 5, 2025
Contributor
@chargome what's going on here? You remember why we have the dist here? Seems to fail TS without. |
chargome
commented
Mar 5, 2025
Member
Damn yeah the config entrypoint breaks our ts build, which is why I used dist – din't realize until now that this types the hook |
lforst
commented
Mar 5, 2025
Contributor
Yeah we can vendor it, but I would also advocate for contributing upstream to fix the typings |
chargome
commented
Mar 5, 2025
Member
Their typings look alright, maybe this is something on our end |
namoscato
commented
Mar 5, 2025
ContributorAuthor
Ah yeah, sorry for not building this prior to opening the PR. Here's the TypeScript error: Currently, |
chargome added a commit
that referenced
this pull request
Mar 6, 2025
This PR adds the external contributor to the CHANGELOG.md file, so that they are credited for their contribution. See #15583 Co-authored-by: chargome <20254395+chargome@users.noreply.github.com>
namoscato added a commit
to namoscato/tiny-truths
that referenced
this pull request
May 31, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@react-router/dev/dist/*is not a valid entry point. This results insentryOnBuildEndbeing typed asanyas illustrated in this CI run.The workaround is a type assertion in the interim, i.e. namoscato/tiny-truths@9c33bf1
Before submitting a pull request, please take a look at our
Contributing guidelines and verify:
If you've added code that should be tested, please add tests.yarn lint) & (yarn test).