Ne0n
Ne0n
NNuxt
Created by Ne0n on 7/25/2024 in #❓・help
useFetch loses type from /server/api after using getCachedData
Well, i found solution but would be great if Nuxt can implement by self. There is available import from nitropack called { type InternalApi} that returns type from server, we can set type of returned content and now it works.
3 replies