Update types.d.ts

This commit is contained in:
Volodymyr Momot 2024-12-19 17:17:39 +02:00
parent 3693c4ac13
commit e4b1a689c5

View file

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