@types/web 0.0.209 → 0.0.211

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.209 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.209.
50
+ You can read what changed in version 0.0.211 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.211.
package/index.d.ts CHANGED
@@ -9640,7 +9640,7 @@ interface GlobalEventHandlersEventMap {
9640
9640
  "animationend": AnimationEvent;
9641
9641
  "animationiteration": AnimationEvent;
9642
9642
  "animationstart": AnimationEvent;
9643
- "auxclick": MouseEvent;
9643
+ "auxclick": PointerEvent;
9644
9644
  "beforeinput": InputEvent;
9645
9645
  "beforetoggle": Event;
9646
9646
  "blur": FocusEvent;
@@ -9654,7 +9654,7 @@ interface GlobalEventHandlersEventMap {
9654
9654
  "compositionstart": CompositionEvent;
9655
9655
  "compositionupdate": CompositionEvent;
9656
9656
  "contextlost": Event;
9657
- "contextmenu": MouseEvent;
9657
+ "contextmenu": PointerEvent;
9658
9658
  "contextrestored": Event;
9659
9659
  "copy": ClipboardEvent;
9660
9660
  "cuechange": Event;
@@ -9757,7 +9757,7 @@ interface GlobalEventHandlers {
9757
9757
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animationstart_event) */
9758
9758
  onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
9759
9759
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/auxclick_event) */
9760
- onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
9760
+ onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
9761
9761
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforeinput_event) */
9762
9762
  onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
9763
9763
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/beforetoggle_event) */
@@ -9804,7 +9804,7 @@ interface GlobalEventHandlers {
9804
9804
  *
9805
9805
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/contextmenu_event)
9806
9806
  */
9807
- oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
9807
+ oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
9808
9808
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextrestored_event) */
9809
9809
  oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
9810
9810
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/copy_event) */
@@ -9933,7 +9933,7 @@ interface GlobalEventHandlers {
9933
9933
  * Fires immediately after the browser loads the object.
9934
9934
  * @param ev The event.
9935
9935
  *
9936
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGElement/load_event)
9936
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/load_event)
9937
9937
  */
9938
9938
  onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
9939
9939
  /**
@@ -10745,6 +10745,8 @@ interface HTMLDialogElement extends HTMLElement {
10745
10745
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close)
10746
10746
  */
10747
10747
  close(returnValue?: string): void;
10748
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/requestClose) */
10749
+ requestClose(returnValue?: string): void;
10748
10750
  /**
10749
10751
  * Displays the dialog element.
10750
10752
  *
@@ -14864,7 +14866,7 @@ interface IDBObjectStore {
14864
14866
  *
14865
14867
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/keyPath)
14866
14868
  */
14867
- readonly keyPath: string | string[];
14869
+ readonly keyPath: string | string[] | null;
14868
14870
  /**
14869
14871
  * Returns the name of the store.
14870
14872
  *
@@ -29101,7 +29103,7 @@ declare var onanimationiteration: ((this: Window, ev: AnimationEvent) => any) |
29101
29103
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animationstart_event) */
29102
29104
  declare var onanimationstart: ((this: Window, ev: AnimationEvent) => any) | null;
29103
29105
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/auxclick_event) */
29104
- declare var onauxclick: ((this: Window, ev: MouseEvent) => any) | null;
29106
+ declare var onauxclick: ((this: Window, ev: PointerEvent) => any) | null;
29105
29107
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforeinput_event) */
29106
29108
  declare var onbeforeinput: ((this: Window, ev: InputEvent) => any) | null;
29107
29109
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/beforetoggle_event) */
@@ -29148,7 +29150,7 @@ declare var oncontextlost: ((this: Window, ev: Event) => any) | null;
29148
29150
  *
29149
29151
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/contextmenu_event)
29150
29152
  */
29151
- declare var oncontextmenu: ((this: Window, ev: MouseEvent) => any) | null;
29153
+ declare var oncontextmenu: ((this: Window, ev: PointerEvent) => any) | null;
29152
29154
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextrestored_event) */
29153
29155
  declare var oncontextrestored: ((this: Window, ev: Event) => any) | null;
29154
29156
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/copy_event) */
@@ -29277,7 +29279,7 @@ declare var onkeyup: ((this: Window, ev: KeyboardEvent) => any) | null;
29277
29279
  * Fires immediately after the browser loads the object.
29278
29280
  * @param ev The event.
29279
29281
  *
29280
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGElement/load_event)
29282
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/load_event)
29281
29283
  */
29282
29284
  declare var onload: ((this: Window, ev: Event) => any) | null;
29283
29285
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.209",
3
+ "version": "0.0.211",
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
@@ -9630,7 +9630,7 @@ interface GlobalEventHandlersEventMap {
9630
9630
  "animationend": AnimationEvent;
9631
9631
  "animationiteration": AnimationEvent;
9632
9632
  "animationstart": AnimationEvent;
9633
- "auxclick": MouseEvent;
9633
+ "auxclick": PointerEvent;
9634
9634
  "beforeinput": InputEvent;
9635
9635
  "beforetoggle": Event;
9636
9636
  "blur": FocusEvent;
@@ -9644,7 +9644,7 @@ interface GlobalEventHandlersEventMap {
9644
9644
  "compositionstart": CompositionEvent;
9645
9645
  "compositionupdate": CompositionEvent;
9646
9646
  "contextlost": Event;
9647
- "contextmenu": MouseEvent;
9647
+ "contextmenu": PointerEvent;
9648
9648
  "contextrestored": Event;
9649
9649
  "copy": ClipboardEvent;
9650
9650
  "cuechange": Event;
@@ -9747,7 +9747,7 @@ interface GlobalEventHandlers {
9747
9747
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animationstart_event) */
9748
9748
  onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
9749
9749
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/auxclick_event) */
9750
- onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
9750
+ onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
9751
9751
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforeinput_event) */
9752
9752
  onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
9753
9753
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/beforetoggle_event) */
@@ -9794,7 +9794,7 @@ interface GlobalEventHandlers {
9794
9794
  *
9795
9795
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/contextmenu_event)
9796
9796
  */
9797
- oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
9797
+ oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
9798
9798
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextrestored_event) */
9799
9799
  oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
9800
9800
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/copy_event) */
@@ -9923,7 +9923,7 @@ interface GlobalEventHandlers {
9923
9923
  * Fires immediately after the browser loads the object.
9924
9924
  * @param ev The event.
9925
9925
  *
9926
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGElement/load_event)
9926
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/load_event)
9927
9927
  */
9928
9928
  onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
9929
9929
  /**
@@ -10733,6 +10733,8 @@ interface HTMLDialogElement extends HTMLElement {
10733
10733
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close)
10734
10734
  */
10735
10735
  close(returnValue?: string): void;
10736
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/requestClose) */
10737
+ requestClose(returnValue?: string): void;
10736
10738
  /**
10737
10739
  * Displays the dialog element.
10738
10740
  *
@@ -14844,7 +14846,7 @@ interface IDBObjectStore {
14844
14846
  *
14845
14847
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/keyPath)
14846
14848
  */
14847
- readonly keyPath: string | string[];
14849
+ readonly keyPath: string | string[] | null;
14848
14850
  /**
14849
14851
  * Returns the name of the store.
14850
14852
  *
@@ -29079,7 +29081,7 @@ declare var onanimationiteration: ((this: Window, ev: AnimationEvent) => any) |
29079
29081
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animationstart_event) */
29080
29082
  declare var onanimationstart: ((this: Window, ev: AnimationEvent) => any) | null;
29081
29083
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/auxclick_event) */
29082
- declare var onauxclick: ((this: Window, ev: MouseEvent) => any) | null;
29084
+ declare var onauxclick: ((this: Window, ev: PointerEvent) => any) | null;
29083
29085
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforeinput_event) */
29084
29086
  declare var onbeforeinput: ((this: Window, ev: InputEvent) => any) | null;
29085
29087
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/beforetoggle_event) */
@@ -29126,7 +29128,7 @@ declare var oncontextlost: ((this: Window, ev: Event) => any) | null;
29126
29128
  *
29127
29129
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/contextmenu_event)
29128
29130
  */
29129
- declare var oncontextmenu: ((this: Window, ev: MouseEvent) => any) | null;
29131
+ declare var oncontextmenu: ((this: Window, ev: PointerEvent) => any) | null;
29130
29132
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextrestored_event) */
29131
29133
  declare var oncontextrestored: ((this: Window, ev: Event) => any) | null;
29132
29134
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/copy_event) */
@@ -29255,7 +29257,7 @@ declare var onkeyup: ((this: Window, ev: KeyboardEvent) => any) | null;
29255
29257
  * Fires immediately after the browser loads the object.
29256
29258
  * @param ev The event.
29257
29259
  *
29258
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGElement/load_event)
29260
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/load_event)
29259
29261
  */
29260
29262
  declare var onload: ((this: Window, ev: Event) => any) | null;
29261
29263
  /**