We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a0ac15c + e7de8e5 commit b9b0ceeCopy full SHA for b9b0cee
baselines/dom.generated.d.ts
@@ -3770,6 +3770,7 @@ interface HTMLCanvasElement extends HTMLElement {
3770
* @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.
3771
*/
3772
toDataURL(type?: string, ...args: any[]): string;
3773
+ toBlob(): Blob;
3774
}
3775
3776
declare var HTMLCanvasElement: {
inputfiles/addedTypes.json
@@ -302,5 +302,11 @@
302
"interface": "HTMLSelectElement",
303
"name": "selectedOptions",
304
"type": "HTMLCollection"
305
+ },
306
+ {
307
+ "kind": "method",
308
+ "interface": "HTMLCanvasElement",
309
+ "name": "toBlob",
310
+ "signatures": ["toBlob(): Blob"]
311
312
]
0 commit comments