@types/web 0.0.267 → 0.0.269

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.267 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.267.
50
+ You can read what changed in version 0.0.269 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.269.
package/index.d.ts CHANGED
@@ -6854,6 +6854,7 @@ interface CSSStyleProperties extends CSSStyleDeclaration {
6854
6854
  textAlignLast: string;
6855
6855
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-anchor) */
6856
6856
  textAnchor: string;
6857
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-autospace) */
6857
6858
  textAutospace: string;
6858
6859
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-box) */
6859
6860
  textBox: string;
@@ -11294,6 +11295,9 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
11294
11295
  *
11295
11296
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/matches)
11296
11297
  */
11298
+ matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
11299
+ matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
11300
+ matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
11297
11301
  matches(selectors: string): boolean;
11298
11302
  /**
11299
11303
  * The **`releasePointerCapture()`** method of the Element interface releases (stops) _pointer capture_ that was previously set for a specific (PointerEvent) _pointer_.
@@ -14415,7 +14419,7 @@ interface HTMLFormElement extends HTMLElement {
14415
14419
  */
14416
14420
  autocomplete: AutoFillBase;
14417
14421
  /**
14418
- * The HTMLFormElement property **`elements`** returns an HTMLFormControlsCollection listing all the form controls contained in the form element.
14422
+ * The **`elements`** property of the HTMLFormElement interface returns an HTMLFormControlsCollection listing all the listed form controls associated with the form element.
14419
14423
  *
14420
14424
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/elements)
14421
14425
  */
@@ -23819,6 +23823,7 @@ declare var PerformanceObserverEntryList: {
23819
23823
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformancePaintTiming)
23820
23824
  */
23821
23825
  interface PerformancePaintTiming extends PerformanceEntry {
23826
+ toJSON(): any;
23822
23827
  }
23823
23828
 
23824
23829
  declare var PerformancePaintTiming: {
@@ -24390,7 +24395,7 @@ interface PointerEvent extends MouseEvent {
24390
24395
  */
24391
24396
  readonly persistentDeviceId: number;
24392
24397
  /**
24393
- * The **`pointerId`** read-only property of the PointerEvent interface is an identifier assigned to a given pointer event.
24398
+ * The **`pointerId`** read-only property of the PointerEvent interface is an identifier assigned to the pointer that triggered the event.
24394
24399
  *
24395
24400
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/pointerId)
24396
24401
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.267",
3
+ "version": "0.0.269",
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
@@ -6847,6 +6847,7 @@ interface CSSStyleProperties extends CSSStyleDeclaration {
6847
6847
  textAlignLast: string;
6848
6848
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-anchor) */
6849
6849
  textAnchor: string;
6850
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-autospace) */
6850
6851
  textAutospace: string;
6851
6852
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-box) */
6852
6853
  textBox: string;
@@ -11284,6 +11285,9 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
11284
11285
  *
11285
11286
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/matches)
11286
11287
  */
11288
+ matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
11289
+ matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
11290
+ matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
11287
11291
  matches(selectors: string): boolean;
11288
11292
  /**
11289
11293
  * The **`releasePointerCapture()`** method of the Element interface releases (stops) _pointer capture_ that was previously set for a specific (PointerEvent) _pointer_.
@@ -14402,7 +14406,7 @@ interface HTMLFormElement extends HTMLElement {
14402
14406
  */
14403
14407
  autocomplete: AutoFillBase;
14404
14408
  /**
14405
- * The HTMLFormElement property **`elements`** returns an HTMLFormControlsCollection listing all the form controls contained in the form element.
14409
+ * The **`elements`** property of the HTMLFormElement interface returns an HTMLFormControlsCollection listing all the listed form controls associated with the form element.
14406
14410
  *
14407
14411
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/elements)
14408
14412
  */
@@ -23798,6 +23802,7 @@ declare var PerformanceObserverEntryList: {
23798
23802
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformancePaintTiming)
23799
23803
  */
23800
23804
  interface PerformancePaintTiming extends PerformanceEntry {
23805
+ toJSON(): any;
23801
23806
  }
23802
23807
 
23803
23808
  declare var PerformancePaintTiming: {
@@ -24369,7 +24374,7 @@ interface PointerEvent extends MouseEvent {
24369
24374
  */
24370
24375
  readonly persistentDeviceId: number;
24371
24376
  /**
24372
- * The **`pointerId`** read-only property of the PointerEvent interface is an identifier assigned to a given pointer event.
24377
+ * The **`pointerId`** read-only property of the PointerEvent interface is an identifier assigned to the pointer that triggered the event.
24373
24378
  *
24374
24379
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/pointerId)
24375
24380
  */
package/ts5.6/index.d.ts CHANGED
@@ -6854,6 +6854,7 @@ interface CSSStyleProperties extends CSSStyleDeclaration {
6854
6854
  textAlignLast: string;
6855
6855
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-anchor) */
6856
6856
  textAnchor: string;
6857
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-autospace) */
6857
6858
  textAutospace: string;
6858
6859
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-box) */
6859
6860
  textBox: string;
@@ -11294,6 +11295,9 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
11294
11295
  *
11295
11296
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/matches)
11296
11297
  */
11298
+ matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
11299
+ matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
11300
+ matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
11297
11301
  matches(selectors: string): boolean;
11298
11302
  /**
11299
11303
  * The **`releasePointerCapture()`** method of the Element interface releases (stops) _pointer capture_ that was previously set for a specific (PointerEvent) _pointer_.
@@ -14415,7 +14419,7 @@ interface HTMLFormElement extends HTMLElement {
14415
14419
  */
14416
14420
  autocomplete: AutoFillBase;
14417
14421
  /**
14418
- * The HTMLFormElement property **`elements`** returns an HTMLFormControlsCollection listing all the form controls contained in the form element.
14422
+ * The **`elements`** property of the HTMLFormElement interface returns an HTMLFormControlsCollection listing all the listed form controls associated with the form element.
14419
14423
  *
14420
14424
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/elements)
14421
14425
  */
@@ -23819,6 +23823,7 @@ declare var PerformanceObserverEntryList: {
23819
23823
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformancePaintTiming)
23820
23824
  */
23821
23825
  interface PerformancePaintTiming extends PerformanceEntry {
23826
+ toJSON(): any;
23822
23827
  }
23823
23828
 
23824
23829
  declare var PerformancePaintTiming: {
@@ -24390,7 +24395,7 @@ interface PointerEvent extends MouseEvent {
24390
24395
  */
24391
24396
  readonly persistentDeviceId: number;
24392
24397
  /**
24393
- * The **`pointerId`** read-only property of the PointerEvent interface is an identifier assigned to a given pointer event.
24398
+ * The **`pointerId`** read-only property of the PointerEvent interface is an identifier assigned to the pointer that triggered the event.
24394
24399
  *
24395
24400
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/pointerId)
24396
24401
  */