Export types for "conventional files" #70587
ravinggenius
started this conversation in
Ideas
Replies: 1 comment
-
Honestly kinda surprised nobody seems interested in this. I actually expected it to be built into Next already. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Goals
Make it easier to enable accurate auto-complete when implementing various "well-known" router files.
Non-Goals
No response
Background
These type are only informally described on the documentation website. While I appreciate the documentation, it would more helpful and convenient to have the types formally defined as well. This way people that want to use them don't have to re-implement them every time.
Proposal
Expose the following types (maybe more). Some names could be adjusted; this is just what I have in my project.
I'm happy to contribute these types and associated inline documentation (pulled from the aforementioned link).
Beta Was this translation helpful? Give feedback.
All reactions