diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index fb4a7f097..75bca7f94 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -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: { diff --git a/inputfiles/addedTypes.json b/inputfiles/addedTypes.json index c49d24437..a3c8dffac 100644 --- a/inputfiles/addedTypes.json +++ b/inputfiles/addedTypes.json @@ -302,5 +302,11 @@ "interface": "HTMLSelectElement", "name": "selectedOptions", "type": "HTMLCollection" + }, + { + "kind": "method", + "interface": "HTMLCanvasElement", + "name": "toBlob", + "signatures": ["toBlob(): Blob"] } ]