@types/web 0.0.232 → 0.0.234

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -47,4 +47,4 @@ Prior to `@types/web` the web APIs were deployed with a version of TypeScript, a
47
47
 
48
48
  ## Deploy Metadata
49
49
 
50
- You can read what changed in version 0.0.232 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.232.
50
+ You can read what changed in version 0.0.234 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.234.
package/index.d.ts CHANGED
@@ -186,26 +186,57 @@ interface AudioWorkletNodeOptions extends AudioNodeOptions {
186
186
  interface AuthenticationExtensionsClientInputs {
187
187
  appid?: string;
188
188
  credProps?: boolean;
189
+ credentialProtectionPolicy?: string;
190
+ enforceCredentialProtectionPolicy?: boolean;
189
191
  hmacCreateSecret?: boolean;
192
+ largeBlob?: AuthenticationExtensionsLargeBlobInputs;
190
193
  minPinLength?: boolean;
191
194
  prf?: AuthenticationExtensionsPRFInputs;
192
195
  }
193
196
 
194
197
  interface AuthenticationExtensionsClientInputsJSON {
198
+ appid?: string;
199
+ credProps?: boolean;
200
+ largeBlob?: AuthenticationExtensionsLargeBlobInputsJSON;
201
+ prf?: AuthenticationExtensionsPRFInputsJSON;
195
202
  }
196
203
 
197
204
  interface AuthenticationExtensionsClientOutputs {
198
205
  appid?: boolean;
199
206
  credProps?: CredentialPropertiesOutput;
200
207
  hmacCreateSecret?: boolean;
208
+ largeBlob?: AuthenticationExtensionsLargeBlobOutputs;
201
209
  prf?: AuthenticationExtensionsPRFOutputs;
202
210
  }
203
211
 
212
+ interface AuthenticationExtensionsLargeBlobInputs {
213
+ read?: boolean;
214
+ support?: string;
215
+ write?: BufferSource;
216
+ }
217
+
218
+ interface AuthenticationExtensionsLargeBlobInputsJSON {
219
+ read?: boolean;
220
+ support?: string;
221
+ write?: Base64URLString;
222
+ }
223
+
224
+ interface AuthenticationExtensionsLargeBlobOutputs {
225
+ blob?: ArrayBuffer;
226
+ supported?: boolean;
227
+ written?: boolean;
228
+ }
229
+
204
230
  interface AuthenticationExtensionsPRFInputs {
205
231
  eval?: AuthenticationExtensionsPRFValues;
206
232
  evalByCredential?: Record<string, AuthenticationExtensionsPRFValues>;
207
233
  }
208
234
 
235
+ interface AuthenticationExtensionsPRFInputsJSON {
236
+ eval?: AuthenticationExtensionsPRFValuesJSON;
237
+ evalByCredential?: Record<string, AuthenticationExtensionsPRFValuesJSON>;
238
+ }
239
+
209
240
  interface AuthenticationExtensionsPRFOutputs {
210
241
  enabled?: boolean;
211
242
  results?: AuthenticationExtensionsPRFValues;
@@ -216,6 +247,11 @@ interface AuthenticationExtensionsPRFValues {
216
247
  second?: BufferSource;
217
248
  }
218
249
 
250
+ interface AuthenticationExtensionsPRFValuesJSON {
251
+ first: Base64URLString;
252
+ second?: Base64URLString;
253
+ }
254
+
219
255
  interface AuthenticatorSelectionCriteria {
220
256
  authenticatorAttachment?: AuthenticatorAttachment;
221
257
  requireResidentKey?: boolean;
@@ -716,6 +752,10 @@ interface GetAnimationsOptions {
716
752
  subtree?: boolean;
717
753
  }
718
754
 
755
+ interface GetComposedRangesOptions {
756
+ shadowRoots?: ShadowRoot[];
757
+ }
758
+
719
759
  interface GetHTMLOptions {
720
760
  serializableShadowRoots?: boolean;
721
761
  shadowRoots?: ShadowRoot[];
@@ -2520,6 +2560,7 @@ interface ANGLE_instanced_arrays {
2520
2560
  }
2521
2561
 
2522
2562
  interface ARIAMixin {
2563
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaActiveDescendantElement) */
2523
2564
  ariaActiveDescendantElement: Element | null;
2524
2565
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaAtomic) */
2525
2566
  ariaAtomic: string | null;
@@ -2541,18 +2582,23 @@ interface ARIAMixin {
2541
2582
  ariaColIndexText: string | null;
2542
2583
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColSpan) */
2543
2584
  ariaColSpan: string | null;
2585
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaControlsElements) */
2544
2586
  ariaControlsElements: ReadonlyArray<Element> | null;
2545
2587
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaCurrent) */
2546
2588
  ariaCurrent: string | null;
2589
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDescribedByElements) */
2547
2590
  ariaDescribedByElements: ReadonlyArray<Element> | null;
2548
2591
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDescription) */
2549
2592
  ariaDescription: string | null;
2593
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDetailsElements) */
2550
2594
  ariaDetailsElements: ReadonlyArray<Element> | null;
2551
2595
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDisabled) */
2552
2596
  ariaDisabled: string | null;
2597
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaErrorMessageElements) */
2553
2598
  ariaErrorMessageElements: ReadonlyArray<Element> | null;
2554
2599
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaExpanded) */
2555
2600
  ariaExpanded: string | null;
2601
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaFlowToElements) */
2556
2602
  ariaFlowToElements: ReadonlyArray<Element> | null;
2557
2603
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaHasPopup) */
2558
2604
  ariaHasPopup: string | null;
@@ -2564,6 +2610,7 @@ interface ARIAMixin {
2564
2610
  ariaKeyShortcuts: string | null;
2565
2611
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLabel) */
2566
2612
  ariaLabel: string | null;
2613
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLabelledByElements) */
2567
2614
  ariaLabelledByElements: ReadonlyArray<Element> | null;
2568
2615
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLevel) */
2569
2616
  ariaLevel: string | null;
@@ -2577,6 +2624,7 @@ interface ARIAMixin {
2577
2624
  ariaMultiSelectable: string | null;
2578
2625
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaOrientation) */
2579
2626
  ariaOrientation: string | null;
2627
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaOwnsElements) */
2580
2628
  ariaOwnsElements: ReadonlyArray<Element> | null;
2581
2629
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaPlaceholder) */
2582
2630
  ariaPlaceholder: string | null;
@@ -10096,13 +10144,14 @@ interface GlobalEventHandlersEventMap {
10096
10144
  "animationstart": AnimationEvent;
10097
10145
  "auxclick": PointerEvent;
10098
10146
  "beforeinput": InputEvent;
10147
+ "beforematch": Event;
10099
10148
  "beforetoggle": ToggleEvent;
10100
10149
  "blur": FocusEvent;
10101
10150
  "cancel": Event;
10102
10151
  "canplay": Event;
10103
10152
  "canplaythrough": Event;
10104
10153
  "change": Event;
10105
- "click": MouseEvent;
10154
+ "click": PointerEvent;
10106
10155
  "close": Event;
10107
10156
  "compositionend": CompositionEvent;
10108
10157
  "compositionstart": CompositionEvent;
@@ -10214,6 +10263,8 @@ interface GlobalEventHandlers {
10214
10263
  onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
10215
10264
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforeinput_event) */
10216
10265
  onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
10266
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforematch_event) */
10267
+ onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
10217
10268
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/beforetoggle_event) */
10218
10269
  onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
10219
10270
  /**
@@ -10247,7 +10298,7 @@ interface GlobalEventHandlers {
10247
10298
  *
10248
10299
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/click_event)
10249
10300
  */
10250
- onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
10301
+ onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
10251
10302
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */
10252
10303
  onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
10253
10304
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextlost_event) */
@@ -23491,6 +23542,8 @@ interface Selection {
23491
23542
  empty(): void;
23492
23543
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/extend) */
23493
23544
  extend(node: Node, offset?: number): void;
23545
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/getComposedRanges) */
23546
+ getComposedRanges(options?: GetComposedRangesOptions): StaticRange[];
23494
23547
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/getRangeAt) */
23495
23548
  getRangeAt(index: number): Range;
23496
23549
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/modify) */
@@ -23620,7 +23673,7 @@ interface ServiceWorkerRegistration extends EventTarget {
23620
23673
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/unregister) */
23621
23674
  unregister(): Promise<boolean>;
23622
23675
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/update) */
23623
- update(): Promise<void>;
23676
+ update(): Promise<ServiceWorkerRegistration>;
23624
23677
  addEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
23625
23678
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
23626
23679
  removeEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -30167,6 +30220,8 @@ declare var onanimationstart: ((this: Window, ev: AnimationEvent) => any) | null
30167
30220
  declare var onauxclick: ((this: Window, ev: PointerEvent) => any) | null;
30168
30221
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforeinput_event) */
30169
30222
  declare var onbeforeinput: ((this: Window, ev: InputEvent) => any) | null;
30223
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforematch_event) */
30224
+ declare var onbeforematch: ((this: Window, ev: Event) => any) | null;
30170
30225
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/beforetoggle_event) */
30171
30226
  declare var onbeforetoggle: ((this: Window, ev: ToggleEvent) => any) | null;
30172
30227
  /**
@@ -30200,7 +30255,7 @@ declare var onchange: ((this: Window, ev: Event) => any) | null;
30200
30255
  *
30201
30256
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/click_event)
30202
30257
  */
30203
- declare var onclick: ((this: Window, ev: MouseEvent) => any) | null;
30258
+ declare var onclick: ((this: Window, ev: PointerEvent) => any) | null;
30204
30259
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */
30205
30260
  declare var onclose: ((this: Window, ev: Event) => any) | null;
30206
30261
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextlost_event) */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.232",
3
+ "version": "0.0.234",
4
4
  "description": "Types for the DOM, and other web technologies in browsers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],
package/ts5.5/index.d.ts CHANGED
@@ -186,26 +186,57 @@ interface AudioWorkletNodeOptions extends AudioNodeOptions {
186
186
  interface AuthenticationExtensionsClientInputs {
187
187
  appid?: string;
188
188
  credProps?: boolean;
189
+ credentialProtectionPolicy?: string;
190
+ enforceCredentialProtectionPolicy?: boolean;
189
191
  hmacCreateSecret?: boolean;
192
+ largeBlob?: AuthenticationExtensionsLargeBlobInputs;
190
193
  minPinLength?: boolean;
191
194
  prf?: AuthenticationExtensionsPRFInputs;
192
195
  }
193
196
 
194
197
  interface AuthenticationExtensionsClientInputsJSON {
198
+ appid?: string;
199
+ credProps?: boolean;
200
+ largeBlob?: AuthenticationExtensionsLargeBlobInputsJSON;
201
+ prf?: AuthenticationExtensionsPRFInputsJSON;
195
202
  }
196
203
 
197
204
  interface AuthenticationExtensionsClientOutputs {
198
205
  appid?: boolean;
199
206
  credProps?: CredentialPropertiesOutput;
200
207
  hmacCreateSecret?: boolean;
208
+ largeBlob?: AuthenticationExtensionsLargeBlobOutputs;
201
209
  prf?: AuthenticationExtensionsPRFOutputs;
202
210
  }
203
211
 
212
+ interface AuthenticationExtensionsLargeBlobInputs {
213
+ read?: boolean;
214
+ support?: string;
215
+ write?: BufferSource;
216
+ }
217
+
218
+ interface AuthenticationExtensionsLargeBlobInputsJSON {
219
+ read?: boolean;
220
+ support?: string;
221
+ write?: Base64URLString;
222
+ }
223
+
224
+ interface AuthenticationExtensionsLargeBlobOutputs {
225
+ blob?: ArrayBuffer;
226
+ supported?: boolean;
227
+ written?: boolean;
228
+ }
229
+
204
230
  interface AuthenticationExtensionsPRFInputs {
205
231
  eval?: AuthenticationExtensionsPRFValues;
206
232
  evalByCredential?: Record<string, AuthenticationExtensionsPRFValues>;
207
233
  }
208
234
 
235
+ interface AuthenticationExtensionsPRFInputsJSON {
236
+ eval?: AuthenticationExtensionsPRFValuesJSON;
237
+ evalByCredential?: Record<string, AuthenticationExtensionsPRFValuesJSON>;
238
+ }
239
+
209
240
  interface AuthenticationExtensionsPRFOutputs {
210
241
  enabled?: boolean;
211
242
  results?: AuthenticationExtensionsPRFValues;
@@ -216,6 +247,11 @@ interface AuthenticationExtensionsPRFValues {
216
247
  second?: BufferSource;
217
248
  }
218
249
 
250
+ interface AuthenticationExtensionsPRFValuesJSON {
251
+ first: Base64URLString;
252
+ second?: Base64URLString;
253
+ }
254
+
219
255
  interface AuthenticatorSelectionCriteria {
220
256
  authenticatorAttachment?: AuthenticatorAttachment;
221
257
  requireResidentKey?: boolean;
@@ -716,6 +752,10 @@ interface GetAnimationsOptions {
716
752
  subtree?: boolean;
717
753
  }
718
754
 
755
+ interface GetComposedRangesOptions {
756
+ shadowRoots?: ShadowRoot[];
757
+ }
758
+
719
759
  interface GetHTMLOptions {
720
760
  serializableShadowRoots?: boolean;
721
761
  shadowRoots?: ShadowRoot[];
@@ -2520,6 +2560,7 @@ interface ANGLE_instanced_arrays {
2520
2560
  }
2521
2561
 
2522
2562
  interface ARIAMixin {
2563
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaActiveDescendantElement) */
2523
2564
  ariaActiveDescendantElement: Element | null;
2524
2565
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaAtomic) */
2525
2566
  ariaAtomic: string | null;
@@ -2541,18 +2582,23 @@ interface ARIAMixin {
2541
2582
  ariaColIndexText: string | null;
2542
2583
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColSpan) */
2543
2584
  ariaColSpan: string | null;
2585
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaControlsElements) */
2544
2586
  ariaControlsElements: ReadonlyArray<Element> | null;
2545
2587
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaCurrent) */
2546
2588
  ariaCurrent: string | null;
2589
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDescribedByElements) */
2547
2590
  ariaDescribedByElements: ReadonlyArray<Element> | null;
2548
2591
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDescription) */
2549
2592
  ariaDescription: string | null;
2593
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDetailsElements) */
2550
2594
  ariaDetailsElements: ReadonlyArray<Element> | null;
2551
2595
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDisabled) */
2552
2596
  ariaDisabled: string | null;
2597
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaErrorMessageElements) */
2553
2598
  ariaErrorMessageElements: ReadonlyArray<Element> | null;
2554
2599
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaExpanded) */
2555
2600
  ariaExpanded: string | null;
2601
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaFlowToElements) */
2556
2602
  ariaFlowToElements: ReadonlyArray<Element> | null;
2557
2603
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaHasPopup) */
2558
2604
  ariaHasPopup: string | null;
@@ -2564,6 +2610,7 @@ interface ARIAMixin {
2564
2610
  ariaKeyShortcuts: string | null;
2565
2611
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLabel) */
2566
2612
  ariaLabel: string | null;
2613
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLabelledByElements) */
2567
2614
  ariaLabelledByElements: ReadonlyArray<Element> | null;
2568
2615
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLevel) */
2569
2616
  ariaLevel: string | null;
@@ -2577,6 +2624,7 @@ interface ARIAMixin {
2577
2624
  ariaMultiSelectable: string | null;
2578
2625
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaOrientation) */
2579
2626
  ariaOrientation: string | null;
2627
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaOwnsElements) */
2580
2628
  ariaOwnsElements: ReadonlyArray<Element> | null;
2581
2629
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaPlaceholder) */
2582
2630
  ariaPlaceholder: string | null;
@@ -10086,13 +10134,14 @@ interface GlobalEventHandlersEventMap {
10086
10134
  "animationstart": AnimationEvent;
10087
10135
  "auxclick": PointerEvent;
10088
10136
  "beforeinput": InputEvent;
10137
+ "beforematch": Event;
10089
10138
  "beforetoggle": ToggleEvent;
10090
10139
  "blur": FocusEvent;
10091
10140
  "cancel": Event;
10092
10141
  "canplay": Event;
10093
10142
  "canplaythrough": Event;
10094
10143
  "change": Event;
10095
- "click": MouseEvent;
10144
+ "click": PointerEvent;
10096
10145
  "close": Event;
10097
10146
  "compositionend": CompositionEvent;
10098
10147
  "compositionstart": CompositionEvent;
@@ -10204,6 +10253,8 @@ interface GlobalEventHandlers {
10204
10253
  onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
10205
10254
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforeinput_event) */
10206
10255
  onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
10256
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforematch_event) */
10257
+ onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
10207
10258
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/beforetoggle_event) */
10208
10259
  onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
10209
10260
  /**
@@ -10237,7 +10288,7 @@ interface GlobalEventHandlers {
10237
10288
  *
10238
10289
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/click_event)
10239
10290
  */
10240
- onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
10291
+ onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
10241
10292
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */
10242
10293
  onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
10243
10294
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextlost_event) */
@@ -23470,6 +23521,8 @@ interface Selection {
23470
23521
  empty(): void;
23471
23522
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/extend) */
23472
23523
  extend(node: Node, offset?: number): void;
23524
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/getComposedRanges) */
23525
+ getComposedRanges(options?: GetComposedRangesOptions): StaticRange[];
23473
23526
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/getRangeAt) */
23474
23527
  getRangeAt(index: number): Range;
23475
23528
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/modify) */
@@ -23599,7 +23652,7 @@ interface ServiceWorkerRegistration extends EventTarget {
23599
23652
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/unregister) */
23600
23653
  unregister(): Promise<boolean>;
23601
23654
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/update) */
23602
- update(): Promise<void>;
23655
+ update(): Promise<ServiceWorkerRegistration>;
23603
23656
  addEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
23604
23657
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
23605
23658
  removeEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -30145,6 +30198,8 @@ declare var onanimationstart: ((this: Window, ev: AnimationEvent) => any) | null
30145
30198
  declare var onauxclick: ((this: Window, ev: PointerEvent) => any) | null;
30146
30199
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforeinput_event) */
30147
30200
  declare var onbeforeinput: ((this: Window, ev: InputEvent) => any) | null;
30201
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforematch_event) */
30202
+ declare var onbeforematch: ((this: Window, ev: Event) => any) | null;
30148
30203
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/beforetoggle_event) */
30149
30204
  declare var onbeforetoggle: ((this: Window, ev: ToggleEvent) => any) | null;
30150
30205
  /**
@@ -30178,7 +30233,7 @@ declare var onchange: ((this: Window, ev: Event) => any) | null;
30178
30233
  *
30179
30234
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/click_event)
30180
30235
  */
30181
- declare var onclick: ((this: Window, ev: MouseEvent) => any) | null;
30236
+ declare var onclick: ((this: Window, ev: PointerEvent) => any) | null;
30182
30237
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */
30183
30238
  declare var onclose: ((this: Window, ev: Event) => any) | null;
30184
30239
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextlost_event) */
package/ts5.6/index.d.ts CHANGED
@@ -186,26 +186,57 @@ interface AudioWorkletNodeOptions extends AudioNodeOptions {
186
186
  interface AuthenticationExtensionsClientInputs {
187
187
  appid?: string;
188
188
  credProps?: boolean;
189
+ credentialProtectionPolicy?: string;
190
+ enforceCredentialProtectionPolicy?: boolean;
189
191
  hmacCreateSecret?: boolean;
192
+ largeBlob?: AuthenticationExtensionsLargeBlobInputs;
190
193
  minPinLength?: boolean;
191
194
  prf?: AuthenticationExtensionsPRFInputs;
192
195
  }
193
196
 
194
197
  interface AuthenticationExtensionsClientInputsJSON {
198
+ appid?: string;
199
+ credProps?: boolean;
200
+ largeBlob?: AuthenticationExtensionsLargeBlobInputsJSON;
201
+ prf?: AuthenticationExtensionsPRFInputsJSON;
195
202
  }
196
203
 
197
204
  interface AuthenticationExtensionsClientOutputs {
198
205
  appid?: boolean;
199
206
  credProps?: CredentialPropertiesOutput;
200
207
  hmacCreateSecret?: boolean;
208
+ largeBlob?: AuthenticationExtensionsLargeBlobOutputs;
201
209
  prf?: AuthenticationExtensionsPRFOutputs;
202
210
  }
203
211
 
212
+ interface AuthenticationExtensionsLargeBlobInputs {
213
+ read?: boolean;
214
+ support?: string;
215
+ write?: BufferSource;
216
+ }
217
+
218
+ interface AuthenticationExtensionsLargeBlobInputsJSON {
219
+ read?: boolean;
220
+ support?: string;
221
+ write?: Base64URLString;
222
+ }
223
+
224
+ interface AuthenticationExtensionsLargeBlobOutputs {
225
+ blob?: ArrayBuffer;
226
+ supported?: boolean;
227
+ written?: boolean;
228
+ }
229
+
204
230
  interface AuthenticationExtensionsPRFInputs {
205
231
  eval?: AuthenticationExtensionsPRFValues;
206
232
  evalByCredential?: Record<string, AuthenticationExtensionsPRFValues>;
207
233
  }
208
234
 
235
+ interface AuthenticationExtensionsPRFInputsJSON {
236
+ eval?: AuthenticationExtensionsPRFValuesJSON;
237
+ evalByCredential?: Record<string, AuthenticationExtensionsPRFValuesJSON>;
238
+ }
239
+
209
240
  interface AuthenticationExtensionsPRFOutputs {
210
241
  enabled?: boolean;
211
242
  results?: AuthenticationExtensionsPRFValues;
@@ -216,6 +247,11 @@ interface AuthenticationExtensionsPRFValues {
216
247
  second?: BufferSource;
217
248
  }
218
249
 
250
+ interface AuthenticationExtensionsPRFValuesJSON {
251
+ first: Base64URLString;
252
+ second?: Base64URLString;
253
+ }
254
+
219
255
  interface AuthenticatorSelectionCriteria {
220
256
  authenticatorAttachment?: AuthenticatorAttachment;
221
257
  requireResidentKey?: boolean;
@@ -716,6 +752,10 @@ interface GetAnimationsOptions {
716
752
  subtree?: boolean;
717
753
  }
718
754
 
755
+ interface GetComposedRangesOptions {
756
+ shadowRoots?: ShadowRoot[];
757
+ }
758
+
719
759
  interface GetHTMLOptions {
720
760
  serializableShadowRoots?: boolean;
721
761
  shadowRoots?: ShadowRoot[];
@@ -2520,6 +2560,7 @@ interface ANGLE_instanced_arrays {
2520
2560
  }
2521
2561
 
2522
2562
  interface ARIAMixin {
2563
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaActiveDescendantElement) */
2523
2564
  ariaActiveDescendantElement: Element | null;
2524
2565
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaAtomic) */
2525
2566
  ariaAtomic: string | null;
@@ -2541,18 +2582,23 @@ interface ARIAMixin {
2541
2582
  ariaColIndexText: string | null;
2542
2583
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColSpan) */
2543
2584
  ariaColSpan: string | null;
2585
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaControlsElements) */
2544
2586
  ariaControlsElements: ReadonlyArray<Element> | null;
2545
2587
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaCurrent) */
2546
2588
  ariaCurrent: string | null;
2589
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDescribedByElements) */
2547
2590
  ariaDescribedByElements: ReadonlyArray<Element> | null;
2548
2591
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDescription) */
2549
2592
  ariaDescription: string | null;
2593
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDetailsElements) */
2550
2594
  ariaDetailsElements: ReadonlyArray<Element> | null;
2551
2595
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDisabled) */
2552
2596
  ariaDisabled: string | null;
2597
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaErrorMessageElements) */
2553
2598
  ariaErrorMessageElements: ReadonlyArray<Element> | null;
2554
2599
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaExpanded) */
2555
2600
  ariaExpanded: string | null;
2601
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaFlowToElements) */
2556
2602
  ariaFlowToElements: ReadonlyArray<Element> | null;
2557
2603
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaHasPopup) */
2558
2604
  ariaHasPopup: string | null;
@@ -2564,6 +2610,7 @@ interface ARIAMixin {
2564
2610
  ariaKeyShortcuts: string | null;
2565
2611
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLabel) */
2566
2612
  ariaLabel: string | null;
2613
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLabelledByElements) */
2567
2614
  ariaLabelledByElements: ReadonlyArray<Element> | null;
2568
2615
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLevel) */
2569
2616
  ariaLevel: string | null;
@@ -2577,6 +2624,7 @@ interface ARIAMixin {
2577
2624
  ariaMultiSelectable: string | null;
2578
2625
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaOrientation) */
2579
2626
  ariaOrientation: string | null;
2627
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaOwnsElements) */
2580
2628
  ariaOwnsElements: ReadonlyArray<Element> | null;
2581
2629
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaPlaceholder) */
2582
2630
  ariaPlaceholder: string | null;
@@ -10096,13 +10144,14 @@ interface GlobalEventHandlersEventMap {
10096
10144
  "animationstart": AnimationEvent;
10097
10145
  "auxclick": PointerEvent;
10098
10146
  "beforeinput": InputEvent;
10147
+ "beforematch": Event;
10099
10148
  "beforetoggle": ToggleEvent;
10100
10149
  "blur": FocusEvent;
10101
10150
  "cancel": Event;
10102
10151
  "canplay": Event;
10103
10152
  "canplaythrough": Event;
10104
10153
  "change": Event;
10105
- "click": MouseEvent;
10154
+ "click": PointerEvent;
10106
10155
  "close": Event;
10107
10156
  "compositionend": CompositionEvent;
10108
10157
  "compositionstart": CompositionEvent;
@@ -10214,6 +10263,8 @@ interface GlobalEventHandlers {
10214
10263
  onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
10215
10264
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforeinput_event) */
10216
10265
  onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
10266
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforematch_event) */
10267
+ onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
10217
10268
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/beforetoggle_event) */
10218
10269
  onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
10219
10270
  /**
@@ -10247,7 +10298,7 @@ interface GlobalEventHandlers {
10247
10298
  *
10248
10299
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/click_event)
10249
10300
  */
10250
- onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
10301
+ onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
10251
10302
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */
10252
10303
  onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
10253
10304
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextlost_event) */
@@ -23491,6 +23542,8 @@ interface Selection {
23491
23542
  empty(): void;
23492
23543
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/extend) */
23493
23544
  extend(node: Node, offset?: number): void;
23545
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/getComposedRanges) */
23546
+ getComposedRanges(options?: GetComposedRangesOptions): StaticRange[];
23494
23547
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/getRangeAt) */
23495
23548
  getRangeAt(index: number): Range;
23496
23549
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/modify) */
@@ -23620,7 +23673,7 @@ interface ServiceWorkerRegistration extends EventTarget {
23620
23673
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/unregister) */
23621
23674
  unregister(): Promise<boolean>;
23622
23675
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/update) */
23623
- update(): Promise<void>;
23676
+ update(): Promise<ServiceWorkerRegistration>;
23624
23677
  addEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
23625
23678
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
23626
23679
  removeEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -30167,6 +30220,8 @@ declare var onanimationstart: ((this: Window, ev: AnimationEvent) => any) | null
30167
30220
  declare var onauxclick: ((this: Window, ev: PointerEvent) => any) | null;
30168
30221
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforeinput_event) */
30169
30222
  declare var onbeforeinput: ((this: Window, ev: InputEvent) => any) | null;
30223
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforematch_event) */
30224
+ declare var onbeforematch: ((this: Window, ev: Event) => any) | null;
30170
30225
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/beforetoggle_event) */
30171
30226
  declare var onbeforetoggle: ((this: Window, ev: ToggleEvent) => any) | null;
30172
30227
  /**
@@ -30200,7 +30255,7 @@ declare var onchange: ((this: Window, ev: Event) => any) | null;
30200
30255
  *
30201
30256
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/click_event)
30202
30257
  */
30203
- declare var onclick: ((this: Window, ev: MouseEvent) => any) | null;
30258
+ declare var onclick: ((this: Window, ev: PointerEvent) => any) | null;
30204
30259
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */
30205
30260
  declare var onclose: ((this: Window, ev: Event) => any) | null;
30206
30261
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextlost_event) */