mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 00:23:53 +00:00
docs: add clarity to useFetch
parameter signature (#28993)
This commit is contained in:
parent
4789125176
commit
b35b5a1c0c
@ -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>>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user