@types/web 0.0.77 → 0.0.78

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 -2
  3. package/package.json +1 -1
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.77 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.77.
50
+ You can read what changed in version 0.0.78 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.78.
package/index.d.ts CHANGED
@@ -489,8 +489,11 @@ interface FocusOptions {
489
489
  }
490
490
 
491
491
  interface FontFaceDescriptors {
492
- display?: string;
492
+ ascentOverride?: string;
493
+ descentOverride?: string;
494
+ display?: FontDisplay;
493
495
  featureSettings?: string;
496
+ lineGapOverride?: string;
494
497
  stretch?: string;
495
498
  style?: string;
496
499
  unicodeRange?: string;
@@ -5481,7 +5484,7 @@ declare var FocusEvent: {
5481
5484
  interface FontFace {
5482
5485
  ascentOverride: string;
5483
5486
  descentOverride: string;
5484
- display: string;
5487
+ display: FontDisplay;
5485
5488
  family: string;
5486
5489
  featureSettings: string;
5487
5490
  lineGapOverride: string;
@@ -18373,6 +18376,7 @@ type EndOfStreamError = "decode" | "network";
18373
18376
  type EndingType = "native" | "transparent";
18374
18377
  type FileSystemHandleKind = "directory" | "file";
18375
18378
  type FillMode = "auto" | "backwards" | "both" | "forwards" | "none";
18379
+ type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
18376
18380
  type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
18377
18381
  type FontFaceSetLoadStatus = "loaded" | "loading";
18378
18382
  type FullscreenNavigationUI = "auto" | "hide" | "show";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.77",
3
+ "version": "0.0.78",
4
4
  "description": "Types for the DOM, and other web technologies in browsers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],