Skip to content

Commit 270c851

Browse files
ramnivassjrd
authored andcommitted
Make most console methods to accept Any instead of js.Any (#362)
1 parent 32d32d6 commit 270c851

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7441,12 +7441,12 @@ trait Console extends js.Object {
74417441
*
74427442
* MDN
74437443
*/
7444-
def info(message: js.Any, optionalParams: js.Any*): Unit = js.native
7444+
def info(message: Any, optionalParams: Any*): Unit = js.native
74457445

74467446
def profile(reportName: String = js.native): Unit = js.native
74477447

74487448
def assert(test: Boolean, message: String,
7449-
optionalParams: js.Any*): Unit = js.native
7449+
optionalParams: Any*): Unit = js.native
74507450

74517451
def clear(): Unit = js.native
74527452

@@ -7457,7 +7457,7 @@ trait Console extends js.Object {
74577457
*
74587458
* MDN
74597459
*/
7460-
def dir(value: js.Any, optionalParams: js.Any*): Unit = js.native
7460+
def dir(value: Any, optionalParams: Any*): Unit = js.native
74617461

74627462
/**
74637463
* Displays an interactive tree of the descendant elements of the specified XML/HTML element.
@@ -7467,39 +7467,39 @@ trait Console extends js.Object {
74677467
*
74687468
* MDN
74697469
*/
7470-
def dirxml(value: js.Any): Unit = js.native
7470+
def dirxml(value: Any): Unit = js.native
74717471

74727472
/**
74737473
* Outputs a warning message. You may use string substitution and additional
74747474
* arguments with this method. See Using string substitutions.
74757475
*
74767476
* MDN
74777477
*/
7478-
def warn(message: js.Any, optionalParams: js.Any*): Unit = js.native
7478+
def warn(message: Any, optionalParams: Any*): Unit = js.native
74797479

74807480
/**
74817481
* Outputs an error message. You may use string substitution and additional
74827482
* arguments with this method. See Using string substitutions.
74837483
*
74847484
* MDN
74857485
*/
7486-
def error(message: js.Any, optionalParams: js.Any*): Unit = js.native
7486+
def error(message: Any, optionalParams: Any*): Unit = js.native
74877487

74887488
/**
74897489
* For general output of logging information. You may use string substitution and
74907490
* additional arguments with this method. See Using string substitutions.
74917491
*
74927492
* MDN
74937493
*/
7494-
def log(message: js.Any, optionalParams: js.Any*): Unit = js.native
7494+
def log(message: Any, optionalParams: Any*): Unit = js.native
74957495

74967496
/**
74977497
* Outputs a debug message. You may use string substitution and additional
74987498
* arguments with this method. See Using string substitutions.
74997499
*
75007500
* MDN
75017501
*/
7502-
def debug(message: js.Any, optionalParams: js.Any*): Unit = js.native
7502+
def debug(message: Any, optionalParams: Any*): Unit = js.native
75037503

75047504
/**
75057505
* Displays tabular data as a table.

0 commit comments

Comments
 (0)