[Wasm] Migrate usages of @JsFun to js("code")

This commit is contained in:
Svyatoslav Kuzmich
2023-01-14 15:19:25 +01:00
committed by Space Team
parent 7a04999e4a
commit 7175b9f31c
18 changed files with 303 additions and 297 deletions
@@ -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")