Skip to content

Commit

Permalink
Merge pull request #1 from Microsoft/master
Browse files Browse the repository at this point in the history
fetch latest code
  • Loading branch information
plantain-00 committed Jan 13, 2016
2 parents 9951366 + b9b0cee commit cb4b6dc
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
5 changes: 3 additions & 2 deletions baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1514,9 +1514,9 @@ interface DataTransferItemList {
length: number;
add(data: File): DataTransferItem;
clear(): void;
item(index: number): File;
item(index: number): DataTransferItem;
remove(index: number): void;
[index: number]: File;
[index: number]: DataTransferItem;
}

declare var DataTransferItemList: {
Expand Down 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"]
}
]
11 changes: 11 additions & 0 deletions inputfiles/overridingTypes.json
Original file line number Diff line number Diff line change
Expand Up @@ -295,5 +295,16 @@
"interface": "IDBDatabase",
"name": "version",
"type": "number"
},
{
"kind": "method",
"interface": "DataTransferItemList",
"name": "item",
"signatures": ["item(index: number): DataTransferItem"]
},
{
"kind": "indexer",
"interface": "DataTransferItemList",
"signatures": ["[index: number]: DataTransferItem"]
}
]

0 comments on commit cb4b6dc

Please sign in to comment.