next-type-safe-routes
next-type-safe-routes copied to clipboard
Types file is written to disc multiple times
For some reason, the types are written multiple times:
I'm seeing this as well.
Did a quick search. It's simply because it's run once for the server, once for the client. Guessing we can just run when the option isServer
is true
.