We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
framework
Tried making a repro on StackBlitz, but react router requires node v20 and stackblitz is locked to v18.
Essentially, when using .md files (with the proper plugins in vite), the generated route types have type errors in them that make typescript fail
System: OS: Linux 6.12 Debian GNU/Linux 12 (bookworm) 12 (bookworm) CPU: (32) x64 AMD Ryzen 9 5950X 16-Core Processor Memory: 14.19 GB / 46.95 GB Container: Yes Shell: 5.9 - /usr/bin/zsh Binaries: Node: 23.4.0 - /usr/local/share/nvm/versions/node/v23.4.0/bin/node npm: 10.9.2 - /usr/local/share/nvm/versions/node/v23.4.0/bin/npm pnpm: 9.12.3 - /usr/local/share/nvm/versions/node/v23.4.0/bin/pnpm
pnpm
Generated types don't have type errors
I'm assuming this is happening because it's looking for a ts/js file in the matched route, when in reality its a .md file.
The text was updated successfully, but these errors were encountered:
Duplicate of #12362
Sorry, something went wrong.
No branches or pull requests
I'm using React Router as a...
framework
Reproduction
Tried making a repro on StackBlitz, but react router requires node v20 and stackblitz is locked to v18.
Essentially, when using .md files (with the proper plugins in vite), the generated route types have type errors in them that make typescript fail
System Info
Used Package Manager
pnpm
Expected Behavior
Generated types don't have type errors
Actual Behavior
I'm assuming this is happening because it's looking for a ts/js file in the matched route, when in reality its a .md file.
The text was updated successfully, but these errors were encountered: