File tree Expand file tree Collapse file tree 5 files changed +8
-13
lines changed Expand file tree Collapse file tree 5 files changed +8
-13
lines changed Original file line number Diff line number Diff line change @@ -18736,6 +18736,8 @@ declare var Response: {
1873618736 new(body?: BodyInit | null, init?: ResponseInit): Response;
1873718737 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/error_static) */
1873818738 error(): Response;
18739+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json) */
18740+ json(data: any, init?: ResponseInit): Response;
1873918741 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/redirect_static) */
1874018742 redirect(url: string | URL, status?: number): Response;
1874118743};
Original file line number Diff line number Diff line change @@ -4716,6 +4716,8 @@ declare var Response: {
47164716 new ( body ?: BodyInit | null , init ?: ResponseInit ) : Response ;
47174717 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/error_static) */
47184718 error ( ) : Response ;
4719+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json) */
4720+ json ( data : any , init ?: ResponseInit ) : Response ;
47194721 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/redirect_static) */
47204722 redirect ( url : string | URL , status ?: number ) : Response ;
47214723} ;
Original file line number Diff line number Diff line change @@ -4550,6 +4550,8 @@ declare var Response: {
45504550 new ( body ?: BodyInit | null , init ?: ResponseInit ) : Response ;
45514551 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/error_static) */
45524552 error ( ) : Response ;
4553+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json) */
4554+ json ( data : any , init ?: ResponseInit ) : Response ;
45534555 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/redirect_static) */
45544556 redirect ( url : string | URL , status ?: number ) : Response ;
45554557} ;
Original file line number Diff line number Diff line change @@ -4991,6 +4991,8 @@ declare var Response: {
49914991 new ( body ?: BodyInit | null , init ?: ResponseInit ) : Response ;
49924992 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/error_static) */
49934993 error ( ) : Response ;
4994+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json) */
4995+ json ( data : any , init ?: ResponseInit ) : Response ;
49944996 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/redirect_static) */
49954997 redirect ( url : string | URL , status ?: number ) : Response ;
49964998} ;
Original file line number Diff line number Diff line change 8484 }
8585 }
8686 },
87- "Response" : {
88- "methods" : {
89- "method" : {
90- // BCD's api.Response.json is not about the static method but about Body#json.
91- // See:
92- // Firefox https://bugzil.la/1758943
93- // Chrome https://crbug.com/1305358
94- // Safari https://webkit.org/b/240375
95- // MDN https://github.com/mdn/content/discussions/5121#discussioncomment-2735488
96- "json" : null
97- }
98- }
99- },
10087 "PaymentResponse" : {
10188 "methods" : {
10289 "method" : {
You can’t perform that action at this time.
0 commit comments