@types/sharedworker 0.0.123 → 0.0.125

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
@@ -28,4 +28,4 @@ This project does not respect semantic versioning as almost every change could p
28
28
 
29
29
  ## Deploy Metadata
30
30
 
31
- You can read what changed in version 0.0.123 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fsharedworker%400.0.123.
31
+ You can read what changed in version 0.0.125 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fsharedworker%400.0.125.
package/index.d.ts CHANGED
@@ -663,6 +663,7 @@ interface VideoConfiguration {
663
663
  colorGamut?: ColorGamut;
664
664
  contentType: string;
665
665
  framerate: number;
666
+ hasAlphaChannel?: boolean;
666
667
  hdrMetadataType?: HdrMetadataType;
667
668
  height: number;
668
669
  scalabilityMode?: string;
@@ -2607,19 +2608,19 @@ declare var FontFace: {
2607
2608
  };
2608
2609
 
2609
2610
  interface FontFaceSetEventMap {
2610
- "loading": Event;
2611
- "loadingdone": Event;
2612
- "loadingerror": Event;
2611
+ "loading": FontFaceSetLoadEvent;
2612
+ "loadingdone": FontFaceSetLoadEvent;
2613
+ "loadingerror": FontFaceSetLoadEvent;
2613
2614
  }
2614
2615
 
2615
2616
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet) */
2616
2617
  interface FontFaceSet extends EventTarget {
2617
2618
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/loading_event) */
2618
- onloading: ((this: FontFaceSet, ev: Event) => any) | null;
2619
+ onloading: ((this: FontFaceSet, ev: FontFaceSetLoadEvent) => any) | null;
2619
2620
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/loadingdone_event) */
2620
- onloadingdone: ((this: FontFaceSet, ev: Event) => any) | null;
2621
+ onloadingdone: ((this: FontFaceSet, ev: FontFaceSetLoadEvent) => any) | null;
2621
2622
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/loadingerror_event) */
2622
- onloadingerror: ((this: FontFaceSet, ev: Event) => any) | null;
2623
+ onloadingerror: ((this: FontFaceSet, ev: FontFaceSetLoadEvent) => any) | null;
2623
2624
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/ready) */
2624
2625
  readonly ready: Promise<FontFaceSet>;
2625
2626
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/status) */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/sharedworker",
3
- "version": "0.0.123",
3
+ "version": "0.0.125",
4
4
  "description": "Types for the global scope of Shared Workers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],
package/ts5.5/index.d.ts CHANGED
@@ -663,6 +663,7 @@ interface VideoConfiguration {
663
663
  colorGamut?: ColorGamut;
664
664
  contentType: string;
665
665
  framerate: number;
666
+ hasAlphaChannel?: boolean;
666
667
  hdrMetadataType?: HdrMetadataType;
667
668
  height: number;
668
669
  scalabilityMode?: string;
@@ -2607,19 +2608,19 @@ declare var FontFace: {
2607
2608
  };
2608
2609
 
2609
2610
  interface FontFaceSetEventMap {
2610
- "loading": Event;
2611
- "loadingdone": Event;
2612
- "loadingerror": Event;
2611
+ "loading": FontFaceSetLoadEvent;
2612
+ "loadingdone": FontFaceSetLoadEvent;
2613
+ "loadingerror": FontFaceSetLoadEvent;
2613
2614
  }
2614
2615
 
2615
2616
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet) */
2616
2617
  interface FontFaceSet extends EventTarget {
2617
2618
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/loading_event) */
2618
- onloading: ((this: FontFaceSet, ev: Event) => any) | null;
2619
+ onloading: ((this: FontFaceSet, ev: FontFaceSetLoadEvent) => any) | null;
2619
2620
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/loadingdone_event) */
2620
- onloadingdone: ((this: FontFaceSet, ev: Event) => any) | null;
2621
+ onloadingdone: ((this: FontFaceSet, ev: FontFaceSetLoadEvent) => any) | null;
2621
2622
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/loadingerror_event) */
2622
- onloadingerror: ((this: FontFaceSet, ev: Event) => any) | null;
2623
+ onloadingerror: ((this: FontFaceSet, ev: FontFaceSetLoadEvent) => any) | null;
2623
2624
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/ready) */
2624
2625
  readonly ready: Promise<FontFaceSet>;
2625
2626
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/status) */