@types/web 0.0.185 → 0.0.187

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.185 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.185.
50
+ You can read what changed in version 0.0.187 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.187.
package/index.d.ts CHANGED
@@ -10127,7 +10127,11 @@ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils {
10127
10127
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/alt)
10128
10128
  */
10129
10129
  alt: string;
10130
- /** Sets or retrieves the coordinates of the object. */
10130
+ /**
10131
+ * Sets or retrieves the coordinates of the object.
10132
+ *
10133
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/coords)
10134
+ */
10131
10135
  coords: string;
10132
10136
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/download) */
10133
10137
  download: string;
@@ -10145,7 +10149,11 @@ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils {
10145
10149
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/relList) */
10146
10150
  get relList(): DOMTokenList;
10147
10151
  set relList(value: string);
10148
- /** Sets or retrieves the shape of the object. */
10152
+ /**
10153
+ * Sets or retrieves the shape of the object.
10154
+ *
10155
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/shape)
10156
+ */
10149
10157
  shape: string;
10150
10158
  /**
10151
10159
  * Sets or retrieves the window or frame at which to target content.
@@ -10404,14 +10412,14 @@ interface HTMLCanvasElement extends HTMLElement {
10404
10412
  getContext(contextId: "webgl2", options?: WebGLContextAttributes): WebGL2RenderingContext | null;
10405
10413
  getContext(contextId: string, options?: any): RenderingContext | null;
10406
10414
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/toBlob) */
10407
- toBlob(callback: BlobCallback, type?: string, quality?: any): void;
10415
+ toBlob(callback: BlobCallback, type?: string, quality?: number): void;
10408
10416
  /**
10409
10417
  * Returns the content of the current canvas as an image that you can use as a source for another canvas or an HTML element.
10410
10418
  * @param type The standard MIME type for the image format to return. If you do not specify this parameter, the default value is a PNG format image.
10411
10419
  *
10412
10420
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/toDataURL)
10413
10421
  */
10414
- toDataURL(type?: string, quality?: any): string;
10422
+ toDataURL(type?: string, quality?: number): string;
10415
10423
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/transferControlToOffscreen) */
10416
10424
  transferControlToOffscreen(): OffscreenCanvas;
10417
10425
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLCanvasElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
@@ -12388,7 +12396,11 @@ declare var HTMLMeterElement: {
12388
12396
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLModElement)
12389
12397
  */
12390
12398
  interface HTMLModElement extends HTMLElement {
12391
- /** Sets or retrieves reference information about the object. */
12399
+ /**
12400
+ * Sets or retrieves reference information about the object.
12401
+ *
12402
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLModElement/cite)
12403
+ */
12392
12404
  cite: string;
12393
12405
  /** Sets or retrieves the date and time of a modification to the object. */
12394
12406
  dateTime: string;
@@ -12917,7 +12929,11 @@ declare var HTMLProgressElement: {
12917
12929
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLQuoteElement)
12918
12930
  */
12919
12931
  interface HTMLQuoteElement extends HTMLElement {
12920
- /** Sets or retrieves reference information about the object. */
12932
+ /**
12933
+ * Sets or retrieves reference information about the object.
12934
+ *
12935
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLQuoteElement/cite)
12936
+ */
12921
12937
  cite: string;
12922
12938
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLQuoteElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
12923
12939
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -21896,6 +21912,7 @@ declare var SVGTransformList: {
21896
21912
  };
21897
21913
 
21898
21914
  interface SVGURIReference {
21915
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAElement/href) */
21899
21916
  readonly href: SVGAnimatedString;
21900
21917
  }
21901
21918
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.185",
3
+ "version": "0.0.187",
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
@@ -10116,7 +10116,11 @@ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils {
10116
10116
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/alt)
10117
10117
  */
10118
10118
  alt: string;
10119
- /** Sets or retrieves the coordinates of the object. */
10119
+ /**
10120
+ * Sets or retrieves the coordinates of the object.
10121
+ *
10122
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/coords)
10123
+ */
10120
10124
  coords: string;
10121
10125
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/download) */
10122
10126
  download: string;
@@ -10133,7 +10137,11 @@ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils {
10133
10137
  rel: string;
10134
10138
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/relList) */
10135
10139
  readonly relList: DOMTokenList;
10136
- /** Sets or retrieves the shape of the object. */
10140
+ /**
10141
+ * Sets or retrieves the shape of the object.
10142
+ *
10143
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/shape)
10144
+ */
10137
10145
  shape: string;
10138
10146
  /**
10139
10147
  * Sets or retrieves the window or frame at which to target content.
@@ -10392,14 +10400,14 @@ interface HTMLCanvasElement extends HTMLElement {
10392
10400
  getContext(contextId: "webgl2", options?: WebGLContextAttributes): WebGL2RenderingContext | null;
10393
10401
  getContext(contextId: string, options?: any): RenderingContext | null;
10394
10402
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/toBlob) */
10395
- toBlob(callback: BlobCallback, type?: string, quality?: any): void;
10403
+ toBlob(callback: BlobCallback, type?: string, quality?: number): void;
10396
10404
  /**
10397
10405
  * Returns the content of the current canvas as an image that you can use as a source for another canvas or an HTML element.
10398
10406
  * @param type The standard MIME type for the image format to return. If you do not specify this parameter, the default value is a PNG format image.
10399
10407
  *
10400
10408
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/toDataURL)
10401
10409
  */
10402
- toDataURL(type?: string, quality?: any): string;
10410
+ toDataURL(type?: string, quality?: number): string;
10403
10411
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/transferControlToOffscreen) */
10404
10412
  transferControlToOffscreen(): OffscreenCanvas;
10405
10413
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLCanvasElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
@@ -12371,7 +12379,11 @@ declare var HTMLMeterElement: {
12371
12379
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLModElement)
12372
12380
  */
12373
12381
  interface HTMLModElement extends HTMLElement {
12374
- /** Sets or retrieves reference information about the object. */
12382
+ /**
12383
+ * Sets or retrieves reference information about the object.
12384
+ *
12385
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLModElement/cite)
12386
+ */
12375
12387
  cite: string;
12376
12388
  /** Sets or retrieves the date and time of a modification to the object. */
12377
12389
  dateTime: string;
@@ -12899,7 +12911,11 @@ declare var HTMLProgressElement: {
12899
12911
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLQuoteElement)
12900
12912
  */
12901
12913
  interface HTMLQuoteElement extends HTMLElement {
12902
- /** Sets or retrieves reference information about the object. */
12914
+ /**
12915
+ * Sets or retrieves reference information about the object.
12916
+ *
12917
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLQuoteElement/cite)
12918
+ */
12903
12919
  cite: string;
12904
12920
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLQuoteElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
12905
12921
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -21875,6 +21891,7 @@ declare var SVGTransformList: {
21875
21891
  };
21876
21892
 
21877
21893
  interface SVGURIReference {
21894
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAElement/href) */
21878
21895
  readonly href: SVGAnimatedString;
21879
21896
  }
21880
21897