AppLoadContext
in typegen files isn't correctly augmented when using NodeNext
module resolution
#12715
Labels
AppLoadContext
in typegen files isn't correctly augmented when using NodeNext
module resolution
#12715
I'm using React Router as a...
framework
Reproduction
This was previously reported as a part of #12424 Since that one is already resolved I wanted to separate this part into its own issue, so it can be tracked.
Reproduction - I separated reproduction into separate commit
app/routes/home.tsx
react-router
System Info
Used Package Manager
pnpm
Expected Behavior
When I augment
AppLoadContext
types I expect them to work also in types coming from typegen filesActual Behavior
There's a mismatch between
AppLoadContext
in type gen file and imported fromreact-router
one:The text was updated successfully, but these errors were encountered: