@types/web 0.0.142 → 0.0.143

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 +29 -3
  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.142 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.142.
50
+ You can read what changed in version 0.0.143 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.143.
package/index.d.ts CHANGED
@@ -565,6 +565,8 @@ interface GainOptions extends AudioNodeOptions {
565
565
 
566
566
  interface GamepadEffectParameters {
567
567
  duration?: number;
568
+ leftTrigger?: number;
569
+ rightTrigger?: number;
568
570
  startDelay?: number;
569
571
  strongMagnitude?: number;
570
572
  weakMagnitude?: number;
@@ -1367,8 +1369,8 @@ interface RTCIceCandidateInit {
1367
1369
  }
1368
1370
 
1369
1371
  interface RTCIceCandidatePair {
1370
- local?: RTCIceCandidate;
1371
- remote?: RTCIceCandidate;
1372
+ local: RTCIceCandidate;
1373
+ remote: RTCIceCandidate;
1372
1374
  }
1373
1375
 
1374
1376
  interface RTCIceCandidatePairStats extends RTCStats {
@@ -1628,6 +1630,17 @@ interface ReadableStreamGetReaderOptions {
1628
1630
  mode?: ReadableStreamReaderMode;
1629
1631
  }
1630
1632
 
1633
+ interface ReadableStreamIteratorOptions {
1634
+ /**
1635
+ * Asynchronously iterates over the chunks in the stream's internal queue.
1636
+ *
1637
+ * Asynchronously iterating over the stream will lock it, preventing any other consumer from acquiring a reader. The lock will be released if the async iterator's return() method is called, e.g. by breaking out of the loop.
1638
+ *
1639
+ * By default, calling the async iterator's return() method will also cancel the stream. To prevent this, use the stream's values() method, passing true for the preventCancel option.
1640
+ */
1641
+ preventCancel?: boolean;
1642
+ }
1643
+
1631
1644
  interface ReadableStreamReadDoneResult<T> {
1632
1645
  done: true;
1633
1646
  value?: T;
@@ -1774,6 +1787,7 @@ interface SecurityPolicyViolationEventInit extends EventInit {
1774
1787
  interface ShadowRootInit {
1775
1788
  delegatesFocus?: boolean;
1776
1789
  mode: ShadowRootMode;
1790
+ serializable?: boolean;
1777
1791
  slotAssignment?: SlotAssignmentMode;
1778
1792
  }
1779
1793
 
@@ -2198,6 +2212,8 @@ interface ARIAMixin {
2198
2212
  ariaAtomic: string | null;
2199
2213
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaAutoComplete) */
2200
2214
  ariaAutoComplete: string | null;
2215
+ ariaBrailleLabel: string | null;
2216
+ ariaBrailleRoleDescription: string | null;
2201
2217
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBusy) */
2202
2218
  ariaBusy: string | null;
2203
2219
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaChecked) */
@@ -3826,6 +3842,15 @@ declare var CSSSkewY: {
3826
3842
  new(ay: CSSNumericValue): CSSSkewY;
3827
3843
  };
3828
3844
 
3845
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStartingStyleRule) */
3846
+ interface CSSStartingStyleRule extends CSSGroupingRule {
3847
+ }
3848
+
3849
+ declare var CSSStartingStyleRule: {
3850
+ prototype: CSSStartingStyleRule;
3851
+ new(): CSSStartingStyleRule;
3852
+ };
3853
+
3829
3854
  /**
3830
3855
  * An object that is a CSS declaration block, and exposes style information and various style-related methods and properties.
3831
3856
  *
@@ -4600,6 +4625,7 @@ interface CSSStyleDeclaration {
4600
4625
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-wrap) */
4601
4626
  textWrap: string;
4602
4627
  textWrapMode: string;
4628
+ textWrapStyle: string;
4603
4629
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/top) */
4604
4630
  top: string;
4605
4631
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/touch-action) */
@@ -28430,7 +28456,7 @@ type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
28430
28456
  type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
28431
28457
  type FontFaceSetLoadStatus = "loaded" | "loading";
28432
28458
  type FullscreenNavigationUI = "auto" | "hide" | "show";
28433
- type GamepadHapticEffectType = "dual-rumble";
28459
+ type GamepadHapticEffectType = "dual-rumble" | "trigger-rumble";
28434
28460
  type GamepadHapticsResult = "complete" | "preempted";
28435
28461
  type GamepadMappingType = "" | "standard" | "xr-standard";
28436
28462
  type GlobalCompositeOperation = "color" | "color-burn" | "color-dodge" | "copy" | "darken" | "destination-atop" | "destination-in" | "destination-out" | "destination-over" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "lighter" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light" | "source-atop" | "source-in" | "source-out" | "source-over" | "xor";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.142",
3
+ "version": "0.0.143",
4
4
  "description": "Types for the DOM, and other web technologies in browsers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],