-
-
Notifications
You must be signed in to change notification settings - Fork 323
Open
Labels
area: ergonomicscontributions welcomeGood for people looking to contributeGood for people looking to contributeenhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
Next.js now supports statically typed links, we should support this too in Link
that is returned from createNavigation
. Also rewrites/redirects should be supported now (needs to be validated).
Note that the Link
that is returned from createNavigation
with pathnames
is already statically typed, this issue only applies if there are no pathnames
.
Describe the solution you'd like
Compose existing types from Next.js for static typing to work
Describe alternatives you've considered
Leaving the routes untyped as string
.
jonasrht, tretail, theoludwig, junwen-k, iuriiiurevich and 5 moreGrahamQuan
Metadata
Metadata
Assignees
Labels
area: ergonomicscontributions welcomeGood for people looking to contributeGood for people looking to contributeenhancementNew feature or requestNew feature or request