Skip to content

Commit a2a424a

Browse files
committed
Add HTMLCollectionOf alias for back-compat
1 parent 5841c2b commit a2a424a

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

inputfiles/addedTypes.json

+11
Original file line numberDiff line numberDiff line change
@@ -2338,6 +2338,17 @@
23382338
"type": "ModuleImports"
23392339
}
23402340
]
2341+
},
2342+
{
2343+
"deprecated": 1,
2344+
"new-type": "HTMLCollectionOf",
2345+
"type-parameters": [
2346+
{
2347+
"name": "T",
2348+
"extends": "Element"
2349+
}
2350+
],
2351+
"override-type": "HTMLCollection<T>"
23412352
}
23422353
]
23432354
}

inputfiles/knownTypes.json

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"HmacImportParams",
3636
"HmacKeyAlgorithm",
3737
"HmacKeyGenParams",
38+
"HTMLCollectionOf",
3839
"IDBKeyPath",
3940
"IDBValidKey",
4041
"ImageBitmapRenderingContextSettings",

0 commit comments

Comments
 (0)