@@ -1148,7 +1148,7 @@ and limitations under the License.
1148
1148
*/
1149
1149
1150
1150
type BlobPart = BufferSource | Blob | string ;
1151
- type EndingType = " native" | " transparent" ;
1151
+ type EndingType = ' native' | ' transparent' ;
1152
1152
type FormDataEntryValue = File | string ;
1153
1153
1154
1154
interface BlobPropertyBag {
@@ -1182,7 +1182,7 @@ interface Blob {
1182
1182
1183
1183
declare var Blob : {
1184
1184
prototype : Blob ;
1185
- new ( blobParts ?: BlobPart [ ] , options ?: BlobPropertyBag ) : Blob ;
1185
+ new ( blobParts ?: BlobPart [ ] , options ?: BlobPropertyBag ) : Blob ;
1186
1186
} ;
1187
1187
1188
1188
/**
@@ -1201,7 +1201,7 @@ interface File extends Blob {
1201
1201
1202
1202
declare var File : {
1203
1203
prototype : File ;
1204
- new ( fileBits : BlobPart [ ] , fileName : string , options ?: FilePropertyBag ) : File ;
1204
+ new ( fileBits : BlobPart [ ] , fileName : string , options ?: FilePropertyBag ) : File ;
1205
1205
} ;
1206
1206
1207
1207
/**
@@ -1226,12 +1226,21 @@ interface FormData {
1226
1226
set ( name : string , value : string | Blob ) : void ;
1227
1227
set ( name : string , value : string ) : void ;
1228
1228
set ( name : string , blobValue : Blob , filename ?: string ) : void ;
1229
- forEach ( callbackfn : ( value : FormDataEntryValue , key : string , parent : FormData ) => void , thisArg ?: any ) : void ;
1229
+ forEach (
1230
+ callbackfn : (
1231
+ value : FormDataEntryValue ,
1232
+ key : string ,
1233
+ parent : FormData ,
1234
+ ) => void ,
1235
+ thisArg ?: any ,
1236
+ ) : void ;
1230
1237
}
1231
1238
1232
1239
declare var FormData : {
1233
1240
prototype : FormData ;
1234
- new ( form ?: any /*form?: HTMLFormElement, submitter?: HTMLElement | null*/ ) : FormData ;
1241
+ new (
1242
+ form ?: any /*form?: HTMLFormElement, submitter?: HTMLElement | null*/ ,
1243
+ ) : FormData ;
1235
1244
} ;
1236
1245
1237
1246
/**
@@ -1242,7 +1251,12 @@ declare var FormData: {
1242
1251
* @group Fetch API
1243
1252
*/
1244
1253
declare type BodyInit = ReadableStream | XMLHttpRequestBodyInit ;
1245
- declare type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string ;
1254
+ declare type XMLHttpRequestBodyInit =
1255
+ | Blob
1256
+ | BufferSource
1257
+ | FormData
1258
+ | URLSearchParams
1259
+ | string ;
1246
1260
1247
1261
/**
1248
1262
* Body for Fetch HTTP Requests and Responses
@@ -1919,6 +1933,7 @@ interface Headers {
1919
1933
append ( name : string , value : string ) : void ;
1920
1934
delete ( name : string ) : void ;
1921
1935
get ( name : string ) : string | null ;
1936
+ getSetCookie ( ) : string [ ] ;
1922
1937
has ( name : string ) : boolean ;
1923
1938
set ( name : string , value : string ) : void ;
1924
1939
forEach (
@@ -2405,7 +2420,7 @@ interface Event {
2405
2420
2406
2421
declare var Event : {
2407
2422
prototype : Event ;
2408
- new ( type : string , eventInitDict ?: EventInit ) : Event ;
2423
+ new ( type : string , eventInitDict ?: EventInit ) : Event ;
2409
2424
readonly NONE : 0 ;
2410
2425
readonly CAPTURING_PHASE : 1 ;
2411
2426
readonly AT_TARGET : 2 ;
@@ -2444,7 +2459,11 @@ interface EventTarget {
2444
2459
*
2445
2460
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
2446
2461
*/
2447
- addEventListener ( type : string , callback : EventListenerOrEventListenerObject | null , options ?: AddEventListenerOptions | boolean ) : void ;
2462
+ addEventListener (
2463
+ type : string ,
2464
+ callback : EventListenerOrEventListenerObject | null ,
2465
+ options ?: AddEventListenerOptions | boolean ,
2466
+ ) : void ;
2448
2467
/**
2449
2468
* Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.
2450
2469
*
@@ -2456,15 +2475,18 @@ interface EventTarget {
2456
2475
*
2457
2476
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
2458
2477
*/
2459
- removeEventListener ( type : string , callback : EventListenerOrEventListenerObject | null , options ?: EventListenerOptions | boolean ) : void ;
2478
+ removeEventListener (
2479
+ type : string ,
2480
+ callback : EventListenerOrEventListenerObject | null ,
2481
+ options ?: EventListenerOptions | boolean ,
2482
+ ) : void ;
2460
2483
}
2461
2484
2462
2485
declare var EventTarget : {
2463
2486
prototype : EventTarget ;
2464
- new ( ) : EventTarget ;
2487
+ new ( ) : EventTarget ;
2465
2488
} ;
2466
2489
2467
-
2468
2490
/**
2469
2491
* Provides access to performance-related information for the current page. It's part of the High Resolution Time API, but is enhanced by the Performance Timeline API, the Navigation Timing API, the User Timing API, and the Resource Timing API.
2470
2492
*
0 commit comments