mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-20 07:30:57 +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
|
||||
params?: SearchParams
|
||||
body?: RequestInit['body'] | Record<string, any>
|
||||
headers?: { key: string, value: string }[]
|
||||
headers?: Record<string, string> | [key: string, value: string][] | Headers
|
||||
baseURL?: string
|
||||
server?: boolean
|
||||
lazy?: boolean
|
||||
|
Loading…
Reference in New Issue
Block a user