mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-21 16:09:52 +00:00
docs: fix type of headers
option for useFetch
(#20148)
This commit is contained in:
parent
234710158d
commit
73dda01f67
@ -18,7 +18,7 @@ type UseFetchOptions = {
|
|||||||
query?: SearchParams
|
query?: SearchParams
|
||||||
params?: SearchParams
|
params?: SearchParams
|
||||||
body?: RequestInit['body'] | Record<string, any>
|
body?: RequestInit['body'] | Record<string, any>
|
||||||
headers?: { key: string, value: string }[]
|
headers?: Record<string, string> | [key: string, value: string][] | Headers
|
||||||
baseURL?: string
|
baseURL?: string
|
||||||
server?: boolean
|
server?: boolean
|
||||||
lazy?: boolean
|
lazy?: boolean
|
||||||
|
Loading…
Reference in New Issue
Block a user