[JS IR BE] Add Unit return type to function signature
This commit is contained in:
@@ -253,6 +253,7 @@ public class Long internal constructor(
|
||||
public override fun toDouble(): Double = toNumber()
|
||||
|
||||
// This method is used by `toString()`
|
||||
@JsName("valueOf")
|
||||
internal fun valueOf() = toDouble()
|
||||
|
||||
override fun equals(other: Any?): Boolean = other is Long && equalsLong(other)
|
||||
|
||||
@@ -44,6 +44,7 @@ public actual abstract class AbstractMutableCollection<E> protected actual const
|
||||
}
|
||||
}
|
||||
|
||||
@JsName("toJSON")
|
||||
open fun toJSON(): Any = this.toArray()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user