diff --git a/docs/2.guide/4.recipes/3.custom-usefetch.md b/docs/2.guide/4.recipes/3.custom-usefetch.md index 9ada89255a..e8f25f6a2b 100644 --- a/docs/2.guide/4.recipes/3.custom-usefetch.md +++ b/docs/2.guide/4.recipes/3.custom-usefetch.md @@ -79,7 +79,7 @@ import type { UseFetchOptions } from 'nuxt/app' export function useAPI( url: string | (() => string), - options: Omit, 'default'> & { default: () => T | Ref }, + options?: UseFetchOptions, ) { return useFetch(url, { ...options,