Closed byronthe123 closed 11 months ago
This package supports the pages
directory, but nextjs ships typescript support for the app
directory, which you can use instead of this package:
Thank you for the clarification.
Sure thing. If you notice any room for improvement over what Nextjs provides, let me know and I’ll consider adding app support.
I was using this library with NextJS 13 using the
pages
folder and it worked perfectly. However, after changing to the newapp
folder, theroutes
in/ypes/nextjs-routes.d.ts
are not being generated correctly. Here's an example of the output: