Skip to content

Commit 568172c

Browse files
committed
Remove upper-bound type constrain from HTMLCollection type aliases
1 parent 77f33b6 commit 568172c

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

api-reports/2_12.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25794,7 +25794,7 @@ html[SO] type Base = HTMLBaseElement
2579425794
html[SO] type Body = HTMLBodyElement
2579525795
html[SO] type Button = HTMLButtonElement
2579625796
html[SO] type Canvas = HTMLCanvasElement
25797-
html[SO] type Collection[E <: Element] = HTMLCollection[E]
25797+
html[SO] type Collection[E] = HTMLCollection[E]
2579825798
html[SO] type DList = HTMLDListElement
2579925799
html[SO] type DataList = HTMLDataListElement
2580025800
html[SO] type Div = HTMLDivElement
@@ -25980,7 +25980,7 @@ raw[SO] type HTMLBaseElement = dom.HTMLBaseElement (@deprecated in 2.0.0)
2598025980
raw[SO] type HTMLBodyElement = dom.HTMLBodyElement (@deprecated in 2.0.0)
2598125981
raw[SO] type HTMLButtonElement = dom.HTMLButtonElement (@deprecated in 2.0.0)
2598225982
raw[SO] type HTMLCanvasElement = dom.HTMLCanvasElement (@deprecated in 2.0.0)
25983-
raw[SO] type HTMLCollectionElement[E <: dom.Element] = dom.HTMLCollection[E] (@deprecated in 2.0.0)
25983+
raw[SO] type HTMLCollectionElement[E] = dom.HTMLCollection[E] (@deprecated in 2.0.0)
2598425984
raw[SO] type HTMLDListElement = dom.HTMLDListElement (@deprecated in 2.0.0)
2598525985
raw[SO] type HTMLDataListElement = dom.HTMLDataListElement (@deprecated in 2.0.0)
2598625986
raw[SO] type HTMLDivElement = dom.HTMLDivElement (@deprecated in 2.0.0)

api-reports/2_13.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25794,7 +25794,7 @@ html[SO] type Base = HTMLBaseElement
2579425794
html[SO] type Body = HTMLBodyElement
2579525795
html[SO] type Button = HTMLButtonElement
2579625796
html[SO] type Canvas = HTMLCanvasElement
25797-
html[SO] type Collection[E <: Element] = HTMLCollection[E]
25797+
html[SO] type Collection[E] = HTMLCollection[E]
2579825798
html[SO] type DList = HTMLDListElement
2579925799
html[SO] type DataList = HTMLDataListElement
2580025800
html[SO] type Div = HTMLDivElement
@@ -25980,7 +25980,7 @@ raw[SO] type HTMLBaseElement = dom.HTMLBaseElement (@deprecated in 2.0.0)
2598025980
raw[SO] type HTMLBodyElement = dom.HTMLBodyElement (@deprecated in 2.0.0)
2598125981
raw[SO] type HTMLButtonElement = dom.HTMLButtonElement (@deprecated in 2.0.0)
2598225982
raw[SO] type HTMLCanvasElement = dom.HTMLCanvasElement (@deprecated in 2.0.0)
25983-
raw[SO] type HTMLCollectionElement[E <: dom.Element] = dom.HTMLCollection[E] (@deprecated in 2.0.0)
25983+
raw[SO] type HTMLCollectionElement[E] = dom.HTMLCollection[E] (@deprecated in 2.0.0)
2598425984
raw[SO] type HTMLDListElement = dom.HTMLDListElement (@deprecated in 2.0.0)
2598525985
raw[SO] type HTMLDataListElement = dom.HTMLDataListElement (@deprecated in 2.0.0)
2598625986
raw[SO] type HTMLDivElement = dom.HTMLDivElement (@deprecated in 2.0.0)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ object html {
1010
type Button = HTMLButtonElement
1111
type BR = HTMLBRElement
1212
type Canvas = HTMLCanvasElement
13-
type Collection[E <: Element] = HTMLCollection[E]
13+
type Collection[E] = HTMLCollection[E]
1414
type DataList = HTMLDataListElement
1515
type Div = HTMLDivElement
1616
type DList = HTMLDListElement

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,8 +320,8 @@ object raw {
320320
@deprecated("use dom.HTMLCanvasElement instead", "2.0.0")
321321
type HTMLCanvasElement = dom.HTMLCanvasElement
322322

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

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

0 commit comments

Comments
 (0)