@types/serviceworker 0.0.94 → 0.0.96

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.94 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.94.
31
+ You can read what changed in version 0.0.96 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.96.
package/index.d.ts CHANGED
@@ -697,6 +697,7 @@ interface VideoConfiguration {
697
697
  colorGamut?: ColorGamut;
698
698
  contentType: string;
699
699
  framerate: number;
700
+ hasAlphaChannel?: boolean;
700
701
  hdrMetadataType?: HdrMetadataType;
701
702
  height: number;
702
703
  scalabilityMode?: string;
@@ -2718,19 +2719,19 @@ declare var FontFace: {
2718
2719
  };
2719
2720
 
2720
2721
  interface FontFaceSetEventMap {
2721
- "loading": Event;
2722
- "loadingdone": Event;
2723
- "loadingerror": Event;
2722
+ "loading": FontFaceSetLoadEvent;
2723
+ "loadingdone": FontFaceSetLoadEvent;
2724
+ "loadingerror": FontFaceSetLoadEvent;
2724
2725
  }
2725
2726
 
2726
2727
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet) */
2727
2728
  interface FontFaceSet extends EventTarget {
2728
2729
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/loading_event) */
2729
- onloading: ((this: FontFaceSet, ev: Event) => any) | null;
2730
+ onloading: ((this: FontFaceSet, ev: FontFaceSetLoadEvent) => any) | null;
2730
2731
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/loadingdone_event) */
2731
- onloadingdone: ((this: FontFaceSet, ev: Event) => any) | null;
2732
+ onloadingdone: ((this: FontFaceSet, ev: FontFaceSetLoadEvent) => any) | null;
2732
2733
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/loadingerror_event) */
2733
- onloadingerror: ((this: FontFaceSet, ev: Event) => any) | null;
2734
+ onloadingerror: ((this: FontFaceSet, ev: FontFaceSetLoadEvent) => any) | null;
2734
2735
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/ready) */
2735
2736
  readonly ready: Promise<FontFaceSet>;
2736
2737
  /** [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/serviceworker",
3
- "version": "0.0.94",
3
+ "version": "0.0.96",
4
4
  "description": "Types for the global scope of Service Workers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],
package/ts5.5/index.d.ts CHANGED
@@ -697,6 +697,7 @@ interface VideoConfiguration {
697
697
  colorGamut?: ColorGamut;
698
698
  contentType: string;
699
699
  framerate: number;
700
+ hasAlphaChannel?: boolean;
700
701
  hdrMetadataType?: HdrMetadataType;
701
702
  height: number;
702
703
  scalabilityMode?: string;
@@ -2718,19 +2719,19 @@ declare var FontFace: {
2718
2719
  };
2719
2720
 
2720
2721
  interface FontFaceSetEventMap {
2721
- "loading": Event;
2722
- "loadingdone": Event;
2723
- "loadingerror": Event;
2722
+ "loading": FontFaceSetLoadEvent;
2723
+ "loadingdone": FontFaceSetLoadEvent;
2724
+ "loadingerror": FontFaceSetLoadEvent;
2724
2725
  }
2725
2726
 
2726
2727
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet) */
2727
2728
  interface FontFaceSet extends EventTarget {
2728
2729
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/loading_event) */
2729
- onloading: ((this: FontFaceSet, ev: Event) => any) | null;
2730
+ onloading: ((this: FontFaceSet, ev: FontFaceSetLoadEvent) => any) | null;
2730
2731
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/loadingdone_event) */
2731
- onloadingdone: ((this: FontFaceSet, ev: Event) => any) | null;
2732
+ onloadingdone: ((this: FontFaceSet, ev: FontFaceSetLoadEvent) => any) | null;
2732
2733
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/loadingerror_event) */
2733
- onloadingerror: ((this: FontFaceSet, ev: Event) => any) | null;
2734
+ onloadingerror: ((this: FontFaceSet, ev: FontFaceSetLoadEvent) => any) | null;
2734
2735
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/ready) */
2735
2736
  readonly ready: Promise<FontFaceSet>;
2736
2737
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/status) */