#Type '"POST"' is not assignable to type '"get" | "GET" | undefined'.ts(2322)
6 messages · Page 1 of 1 (latest)
i delete .nuxt node_modules etc.. to be sure everything is new generated cache and stuff
try setting the type of the response in generic of $fetch @magic dune
await $fetch<{ data: string[] }>('/api...', ...)
@magic dune yes it is. use lowercase 'post'
fixed already - see https://github.com/nuxt/nuxt/issues/22313