[Wasm] Migrate usages of @JsFun to js("code")
This commit is contained in:
committed by
Space Team
parent
7a04999e4a
commit
7175b9f31c
@@ -40,5 +40,5 @@ public open class Throwable(open val message: String?, open val cause: kotlin.Th
|
||||
}
|
||||
}
|
||||
|
||||
@JsFun("() => new Error().stack")
|
||||
private external fun captureStackTrace(): ExternalInterfaceType
|
||||
private fun captureStackTrace(): ExternalInterfaceType =
|
||||
js("new Error().stack")
|
||||
|
||||
Reference in New Issue
Block a user