Skip to content

Commit b9b0cee

Browse files
committed
Merge pull request #45 from plantain-00/i4550
To fix #4550
2 parents a0ac15c + e7de8e5 commit b9b0cee

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

baselines/dom.generated.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3770,6 +3770,7 @@ interface HTMLCanvasElement extends HTMLElement {
37703770
* @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.
37713771
*/
37723772
toDataURL(type?: string, ...args: any[]): string;
3773+
toBlob(): Blob;
37733774
}
37743775

37753776
declare var HTMLCanvasElement: {

inputfiles/addedTypes.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,5 +302,11 @@
302302
"interface": "HTMLSelectElement",
303303
"name": "selectedOptions",
304304
"type": "HTMLCollection"
305+
},
306+
{
307+
"kind": "method",
308+
"interface": "HTMLCanvasElement",
309+
"name": "toBlob",
310+
"signatures": ["toBlob(): Blob"]
305311
}
306312
]

0 commit comments

Comments
 (0)