@types/serviceworker 0.0.54 → 0.0.56

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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/index.d.ts +6 -3
  3. package/package.json +1 -1
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.54 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.54.
31
+ You can read what changed in version 0.0.56 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.56.
package/index.d.ts CHANGED
@@ -205,8 +205,11 @@ interface FileSystemRemoveOptions {
205
205
  }
206
206
 
207
207
  interface FontFaceDescriptors {
208
- display?: string;
208
+ ascentOverride?: string;
209
+ descentOverride?: string;
210
+ display?: FontDisplay;
209
211
  featureSettings?: string;
212
+ lineGapOverride?: string;
210
213
  stretch?: string;
211
214
  style?: string;
212
215
  unicodeRange?: string;
@@ -1685,7 +1688,7 @@ declare var FileSystemHandle: {
1685
1688
  interface FontFace {
1686
1689
  ascentOverride: string;
1687
1690
  descentOverride: string;
1688
- display: string;
1691
+ display: FontDisplay;
1689
1692
  family: string;
1690
1693
  featureSettings: string;
1691
1694
  lineGapOverride: string;
@@ -1695,7 +1698,6 @@ interface FontFace {
1695
1698
  style: string;
1696
1699
  unicodeRange: string;
1697
1700
  variant: string;
1698
- variationSettings: string;
1699
1701
  weight: string;
1700
1702
  load(): Promise<FontFace>;
1701
1703
  }
@@ -5822,6 +5824,7 @@ type ColorSpaceConversion = "default" | "none";
5822
5824
  type DocumentVisibilityState = "hidden" | "visible";
5823
5825
  type EndingType = "native" | "transparent";
5824
5826
  type FileSystemHandleKind = "directory" | "file";
5827
+ type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
5825
5828
  type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
5826
5829
  type FontFaceSetLoadStatus = "loaded" | "loading";
5827
5830
  type FrameType = "auxiliary" | "nested" | "none" | "top-level";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/serviceworker",
3
- "version": "0.0.54",
3
+ "version": "0.0.56",
4
4
  "description": "Types for the global scope of Service Workers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],