Please how can I use the types of a Nitro server route in a declaration file
In the root of my project, I have a
But I don't know how to do it, here's a reproduction link:
https://codesandbox.io/p/sandbox/loving-hooks-7lci64
project.d.ts which contains all the types used in a Nuxt 3 project. I would like to create a type for the response of /api/users route which returnsBut I don't know how to do it, here's a reproduction link:
https://codesandbox.io/p/sandbox/loving-hooks-7lci64

