# Type error on documentation example about Custom useFetch in Nuxt
Custom `useFetch` has incorrect type for `default` option
documentationtypes🍰 p2-nice-to-have
[types] $fetch.onResponse(ctx)
discussiontypesworkaround availabledx
Typescript error when following custom useFetch example
pending triage
type of `default` option in `useFetch` is not correct
types3.x🔨 p3-minor