diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index fb4a7f097..1eacb943c 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -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: { diff --git a/inputfiles/overridingTypes.json b/inputfiles/overridingTypes.json index 25d2e1d11..837c591c0 100644 --- a/inputfiles/overridingTypes.json +++ b/inputfiles/overridingTypes.json @@ -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"] } ]