From 7dba33500bd7c8b578a9918d5d2b4cdf4df9de4e 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 038082ab65..3d5834dc02 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>