Closed rcerljenko closed 1 year ago
Nuxt TSC complains when you try to overrride a return type of useCsrfFetch function like this:
useCsrfFetch
const response = await useCsrfFetch<TurnstileValidationResponse>('/_turnstile/validate', { method: 'POST', body: { token } })
Normal useFetch allows that, Could you probably type this function just like normal useFetch ?
useFetch
Hi! Hope this commit will fix this bug
:tada: This issue has been resolved in version 1.0.1 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
thanks!
Nuxt TSC complains when you try to overrride a return type of
useCsrfFetch
function like this:Normal
useFetch
allows that, Could you probably type this function just like normaluseFetch
?