Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3770,6 +3770,7 @@ interface HTMLCanvasElement extends HTMLElement {
* @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.
*/
toDataURL(type?: string, ...args: any[]): string;
toBlob(): Blob;
}

declare var HTMLCanvasElement: {
Expand Down
6 changes: 6 additions & 0 deletions inputfiles/addedTypes.json
Original file line number Diff line number Diff line change
Expand Up @@ -302,5 +302,11 @@
"interface": "HTMLSelectElement",
"name": "selectedOptions",
"type": "HTMLCollection"
},
{
"kind": "method",
"interface": "HTMLCanvasElement",
"name": "toBlob",
"signatures": ["toBlob(): Blob"]
}
]