Skip to content

Commit

Permalink
Update types.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
mmtv-qa committed Dec 19, 2024
1 parent 00b05c0 commit 3693c4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/playwright-core/types/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18433,7 +18433,7 @@ export interface APIResponse {
*
* This method will throw if the response body is not parsable via `JSON.parse`.
*/
json(): Promise<Serializable>;
json<T = Serializable>(): Promise<T>;

/**
* Contains a boolean stating whether the response was successful (status in the range 200-299) or not.
Expand Down Expand Up @@ -20571,7 +20571,7 @@ export interface Response {
*
* This method will throw if the response body is not parsable via `JSON.parse`.
*/
json(): Promise<Serializable>;
json<T = Serializable>(): Promise<T>;

/**
* Contains a boolean stating whether the response was successful (status in the range 200-299) or not.
Expand Down

0 comments on commit 3693c4a

Please sign in to comment.