From b35b5a1c0cfdbe664ccf9044e3d19055f0d2936d Mon Sep 17 00:00:00 2001 From: Nishant Aanjaney Jalan Date: Sat, 14 Sep 2024 17:53:06 +0530 Subject: [PATCH] docs: add clarity to `useFetch` parameter signature (#28993) --- docs/3.api/2.composables/use-fetch.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/3.api/2.composables/use-fetch.md b/docs/3.api/2.composables/use-fetch.md index 09fafe7e17..b0966712de 100644 --- a/docs/3.api/2.composables/use-fetch.md +++ b/docs/3.api/2.composables/use-fetch.md @@ -147,7 +147,7 @@ If you have not fetched data on the server (for example, with `server: false`), ```ts [Signature] function useFetch( - url: string | Request | Ref | () => string | Request, + url: string | Request | Ref | (() => string) | Request, options?: UseFetchOptions ): Promise>