Skip to content

Commit 001acd1

Browse files
committed
StyleSheetList.item() doesn’t have a default value.
See https://drafts.csswg.org/cssom/#the-stylesheetlist-interface
1 parent e3ddc58 commit 001acd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5036,7 +5036,7 @@ object PositionError extends js.Object {
50365036
class StyleSheetList extends js.Object {
50375037
def length: Int = js.native
50385038

5039-
def item(index: Int = js.native): StyleSheet = js.native
5039+
def item(index: Int): StyleSheet = js.native
50405040

50415041
@scala.scalajs.js.annotation.JSBracketAccess
50425042
def apply(index: Int): StyleSheet = js.native

0 commit comments

Comments
 (0)