From bf34b7e5b8788b010f687825791a6afaf9a065fe Mon Sep 17 00:00:00 2001 From: Alex Liu Date: Sat, 11 Jan 2025 01:47:12 +0800 Subject: [PATCH] docs: ensure correct type for `url` in `useFetch` (#30531) --- 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 a2bd61d32d..fdafe98ea2 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>