Update types.d.ts
This commit is contained in:
parent
3693c4ac13
commit
e4b1a689c5
4
packages/playwright-core/types/types.d.ts
vendored
4
packages/playwright-core/types/types.d.ts
vendored
|
|
@ -18433,7 +18433,7 @@ export interface APIResponse {
|
|||
*
|
||||
* This method will throw if the response body is not parsable via `JSON.parse`.
|
||||
*/
|
||||
json<T = Serializable>(): Promise<T>;
|
||||
json(): Promise<Serializable>;
|
||||
|
||||
/**
|
||||
* Contains a boolean stating whether the response was successful (status in the range 200-299) or not.
|
||||
|
|
@ -20571,7 +20571,7 @@ export interface Response {
|
|||
*
|
||||
* This method will throw if the response body is not parsable via `JSON.parse`.
|
||||
*/
|
||||
json<T = Serializable>(): Promise<T>;
|
||||
json(): Promise<Serializable>;
|
||||
|
||||
/**
|
||||
* Contains a boolean stating whether the response was successful (status in the range 200-299) or not.
|
||||
|
|
|
|||
Loading…
Reference in a new issue