@types/web 0.0.303 → 0.0.305

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
@@ -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.303 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.303.
50
+ You can read what changed in version 0.0.305 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.305.
package/index.d.ts CHANGED
@@ -659,6 +659,7 @@ interface EncodedVideoChunkInit {
659
659
 
660
660
  interface EncodedVideoChunkMetadata {
661
661
  decoderConfig?: VideoDecoderConfig;
662
+ svc?: SvcOutputMetadata;
662
663
  }
663
664
 
664
665
  interface ErrorEventInit extends EventInit {
@@ -730,6 +731,7 @@ interface FocusEventInit extends UIEventInit {
730
731
  }
731
732
 
732
733
  interface FocusOptions {
734
+ focusVisible?: boolean;
733
735
  preventScroll?: boolean;
734
736
  }
735
737
 
@@ -2340,6 +2342,10 @@ interface SubmitEventInit extends EventInit {
2340
2342
  submitter?: HTMLElement | null;
2341
2343
  }
2342
2344
 
2345
+ interface SvcOutputMetadata {
2346
+ temporalLayerId?: number;
2347
+ }
2348
+
2343
2349
  interface TaskControllerInit {
2344
2350
  priority?: TaskPriority;
2345
2351
  }
@@ -2677,6 +2683,7 @@ interface WebTransportHash {
2677
2683
  interface WebTransportOptions {
2678
2684
  allowPooling?: boolean;
2679
2685
  congestionControl?: WebTransportCongestionControl;
2686
+ protocols?: string[];
2680
2687
  requireUnreliable?: boolean;
2681
2688
  serverCertificateHashes?: WebTransportHash[];
2682
2689
  }
@@ -13380,7 +13387,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
13380
13387
  */
13381
13388
  setAttribute(qualifiedName: string, value: string): void;
13382
13389
  /**
13383
- * If you are working with HTML documents and you don't need to specify the requested attribute as being part of a specific namespace, use the setAttribute() method instead.
13390
+ * The **`setAttributeNS()`** method of the Element interface adds a new attribute or changes the value of an attribute with the given namespace and name.
13384
13391
  *
13385
13392
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setAttributeNS)
13386
13393
  */
@@ -26169,6 +26176,7 @@ declare var PerformanceObserverEntryList: {
26169
26176
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformancePaintTiming)
26170
26177
  */
26171
26178
  interface PerformancePaintTiming extends PerformanceEntry, PaintTimingMixin {
26179
+ /** The **`toJSON()`** method of the PerformancePaintTiming interface is a serializer; it returns a JSON representation of the PerformancePaintTiming object. */
26172
26180
  toJSON(): any;
26173
26181
  }
26174
26182
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.303",
3
+ "version": "0.0.305",
4
4
  "description": "Types for the DOM, and other web technologies in browsers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],
package/ts5.5/index.d.ts CHANGED
@@ -656,6 +656,7 @@ interface EncodedVideoChunkInit {
656
656
 
657
657
  interface EncodedVideoChunkMetadata {
658
658
  decoderConfig?: VideoDecoderConfig;
659
+ svc?: SvcOutputMetadata;
659
660
  }
660
661
 
661
662
  interface ErrorEventInit extends EventInit {
@@ -727,6 +728,7 @@ interface FocusEventInit extends UIEventInit {
727
728
  }
728
729
 
729
730
  interface FocusOptions {
731
+ focusVisible?: boolean;
730
732
  preventScroll?: boolean;
731
733
  }
732
734
 
@@ -2337,6 +2339,10 @@ interface SubmitEventInit extends EventInit {
2337
2339
  submitter?: HTMLElement | null;
2338
2340
  }
2339
2341
 
2342
+ interface SvcOutputMetadata {
2343
+ temporalLayerId?: number;
2344
+ }
2345
+
2340
2346
  interface TaskControllerInit {
2341
2347
  priority?: TaskPriority;
2342
2348
  }
@@ -2674,6 +2680,7 @@ interface WebTransportHash {
2674
2680
  interface WebTransportOptions {
2675
2681
  allowPooling?: boolean;
2676
2682
  congestionControl?: WebTransportCongestionControl;
2683
+ protocols?: string[];
2677
2684
  requireUnreliable?: boolean;
2678
2685
  serverCertificateHashes?: WebTransportHash[];
2679
2686
  }
@@ -13367,7 +13374,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
13367
13374
  */
13368
13375
  setAttribute(qualifiedName: string, value: string): void;
13369
13376
  /**
13370
- * If you are working with HTML documents and you don't need to specify the requested attribute as being part of a specific namespace, use the setAttribute() method instead.
13377
+ * The **`setAttributeNS()`** method of the Element interface adds a new attribute or changes the value of an attribute with the given namespace and name.
13371
13378
  *
13372
13379
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setAttributeNS)
13373
13380
  */
@@ -26145,6 +26152,7 @@ declare var PerformanceObserverEntryList: {
26145
26152
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformancePaintTiming)
26146
26153
  */
26147
26154
  interface PerformancePaintTiming extends PerformanceEntry, PaintTimingMixin {
26155
+ /** The **`toJSON()`** method of the PerformancePaintTiming interface is a serializer; it returns a JSON representation of the PerformancePaintTiming object. */
26148
26156
  toJSON(): any;
26149
26157
  }
26150
26158
 
package/ts5.6/index.d.ts CHANGED
@@ -656,6 +656,7 @@ interface EncodedVideoChunkInit {
656
656
 
657
657
  interface EncodedVideoChunkMetadata {
658
658
  decoderConfig?: VideoDecoderConfig;
659
+ svc?: SvcOutputMetadata;
659
660
  }
660
661
 
661
662
  interface ErrorEventInit extends EventInit {
@@ -727,6 +728,7 @@ interface FocusEventInit extends UIEventInit {
727
728
  }
728
729
 
729
730
  interface FocusOptions {
731
+ focusVisible?: boolean;
730
732
  preventScroll?: boolean;
731
733
  }
732
734
 
@@ -2337,6 +2339,10 @@ interface SubmitEventInit extends EventInit {
2337
2339
  submitter?: HTMLElement | null;
2338
2340
  }
2339
2341
 
2342
+ interface SvcOutputMetadata {
2343
+ temporalLayerId?: number;
2344
+ }
2345
+
2340
2346
  interface TaskControllerInit {
2341
2347
  priority?: TaskPriority;
2342
2348
  }
@@ -2674,6 +2680,7 @@ interface WebTransportHash {
2674
2680
  interface WebTransportOptions {
2675
2681
  allowPooling?: boolean;
2676
2682
  congestionControl?: WebTransportCongestionControl;
2683
+ protocols?: string[];
2677
2684
  requireUnreliable?: boolean;
2678
2685
  serverCertificateHashes?: WebTransportHash[];
2679
2686
  }
@@ -13377,7 +13384,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
13377
13384
  */
13378
13385
  setAttribute(qualifiedName: string, value: string): void;
13379
13386
  /**
13380
- * If you are working with HTML documents and you don't need to specify the requested attribute as being part of a specific namespace, use the setAttribute() method instead.
13387
+ * The **`setAttributeNS()`** method of the Element interface adds a new attribute or changes the value of an attribute with the given namespace and name.
13381
13388
  *
13382
13389
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setAttributeNS)
13383
13390
  */
@@ -26166,6 +26173,7 @@ declare var PerformanceObserverEntryList: {
26166
26173
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformancePaintTiming)
26167
26174
  */
26168
26175
  interface PerformancePaintTiming extends PerformanceEntry, PaintTimingMixin {
26176
+ /** The **`toJSON()`** method of the PerformancePaintTiming interface is a serializer; it returns a JSON representation of the PerformancePaintTiming object. */
26169
26177
  toJSON(): any;
26170
26178
  }
26171
26179
 
package/ts5.9/index.d.ts CHANGED
@@ -656,6 +656,7 @@ interface EncodedVideoChunkInit {
656
656
 
657
657
  interface EncodedVideoChunkMetadata {
658
658
  decoderConfig?: VideoDecoderConfig;
659
+ svc?: SvcOutputMetadata;
659
660
  }
660
661
 
661
662
  interface ErrorEventInit extends EventInit {
@@ -727,6 +728,7 @@ interface FocusEventInit extends UIEventInit {
727
728
  }
728
729
 
729
730
  interface FocusOptions {
731
+ focusVisible?: boolean;
730
732
  preventScroll?: boolean;
731
733
  }
732
734
 
@@ -2337,6 +2339,10 @@ interface SubmitEventInit extends EventInit {
2337
2339
  submitter?: HTMLElement | null;
2338
2340
  }
2339
2341
 
2342
+ interface SvcOutputMetadata {
2343
+ temporalLayerId?: number;
2344
+ }
2345
+
2340
2346
  interface TaskControllerInit {
2341
2347
  priority?: TaskPriority;
2342
2348
  }
@@ -2674,6 +2680,7 @@ interface WebTransportHash {
2674
2680
  interface WebTransportOptions {
2675
2681
  allowPooling?: boolean;
2676
2682
  congestionControl?: WebTransportCongestionControl;
2683
+ protocols?: string[];
2677
2684
  requireUnreliable?: boolean;
2678
2685
  serverCertificateHashes?: WebTransportHash[];
2679
2686
  }
@@ -13377,7 +13384,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
13377
13384
  */
13378
13385
  setAttribute(qualifiedName: string, value: string): void;
13379
13386
  /**
13380
- * If you are working with HTML documents and you don't need to specify the requested attribute as being part of a specific namespace, use the setAttribute() method instead.
13387
+ * The **`setAttributeNS()`** method of the Element interface adds a new attribute or changes the value of an attribute with the given namespace and name.
13381
13388
  *
13382
13389
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setAttributeNS)
13383
13390
  */
@@ -26166,6 +26173,7 @@ declare var PerformanceObserverEntryList: {
26166
26173
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformancePaintTiming)
26167
26174
  */
26168
26175
  interface PerformancePaintTiming extends PerformanceEntry, PaintTimingMixin {
26176
+ /** The **`toJSON()`** method of the PerformancePaintTiming interface is a serializer; it returns a JSON representation of the PerformancePaintTiming object. */
26169
26177
  toJSON(): any;
26170
26178
  }
26171
26179