docs: fix type of headers option for useFetch (#20148)

This commit is contained in:
JT Smith 2023-04-08 12:47:40 -05:00 committed by GitHub
parent 234710158d
commit 73dda01f67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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