docs: add clarity to useFetch parameter signature (#28993)

This commit is contained in:
Nishant Aanjaney Jalan 2024-09-14 17:53:06 +05:30 committed by Daniel Roe
parent 4789125176
commit b35b5a1c0c
No known key found for this signature in database
GPG Key ID: CBC814C393D93268

View File

@ -147,7 +147,7 @@ If you have not fetched data on the server (for example, with `server: false`),
```ts [Signature]
function useFetch<DataT, ErrorT>(
url: string | Request | Ref<string | Request> | () => string | Request,
url: string | Request | Ref<string | Request> | (() => string) | Request,
options?: UseFetchOptions<DataT>
): Promise<AsyncData<DataT, ErrorT>>