From e52dff05962b3e434fb53d0174809f9cd33d2270 Mon Sep 17 00:00:00 2001 From: Mike Laumann Bellika <5175031+MikeBellika@users.noreply.github.com> Date: Tue, 13 Aug 2024 17:39:40 +0200 Subject: [PATCH] docs: fix `options` type in custom useFetch recipe (#28389) --- docs/2.guide/4.recipes/3.custom-usefetch.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,