chore(docs): fix APIResponse.headersArray() desc (#32375)

This commit is contained in:
Przemyslaw Malolepszy 2024-09-03 09:01:01 +02:00 committed by GitHub
parent 787da9b5a5
commit b8c4a477ff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -60,7 +60,7 @@ An object with all the response HTTP headers associated with this response.
- `name` <[string]> Name of the header.
- `value` <[string]> Value of the header.
An array with all the request HTTP headers associated with this response. Header names are not lower-cased.
An array with all the response HTTP headers associated with this response. Header names are not lower-cased.
Headers with multiple entries, such as `Set-Cookie`, appear in the array multiple times.
## async method: APIResponse.json

View file

@ -17320,8 +17320,8 @@ export interface APIResponse {
headers(): { [key: string]: string; };
/**
* An array with all the request HTTP headers associated with this response. Header names are not lower-cased. Headers
* with multiple entries, such as `Set-Cookie`, appear in the array multiple times.
* An array with all the response HTTP headers associated with this response. Header names are not lower-cased.
* Headers with multiple entries, such as `Set-Cookie`, appear in the array multiple times.
*/
headersArray(): Array<{
/**