Skip to content

Commit ea0eb4f

Browse files
Drop generic type from HTMLCollectionElement to restore bin-compat
Co-authored-by: Arman Bilge <[email protected]>
1 parent 568172c commit ea0eb4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/org/scalajs/dom/raw.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ object raw {
321321
type HTMLCanvasElement = dom.HTMLCanvasElement
322322

323323
@deprecated("use dom.HTMLCollection instead", "2.0.0")
324-
type HTMLCollectionElement[E] = dom.HTMLCollection[E]
324+
type HTMLCollectionElement = dom.HTMLCollection[dom.Element]
325325

326326
@deprecated("use dom.HTMLDataListElement instead", "2.0.0")
327327
type HTMLDataListElement = dom.HTMLDataListElement

0 commit comments

Comments
 (0)