You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
davidesigner
changed the title
[Bug]: Layout routes with corresponding index routes cause clashing duplicate types (when optional params)
[Bug]: Layout routes with corresponding index routes cause clashing duplicate types (when remix-flat-routes)
Mar 16, 2025
I'm using React Router as a...
framework
Reproduction
Go to https://stackblitz.com/edit/rr7-730-typegen-bug?file=package.json and run
npm run typecheck
in the terminal.System Info
Used Package Manager
npm
Expected Behavior
I would expect it to handle routes with remix-flat-routes as 7.1.5 does (reproduction repo here and run
npm run typecheck
in the terminal: no error).Actual Behavior
The text was updated successfully, but these errors were encountered: