Never treat @JsExport-annotated declarations as not-used instead of @JsName

This commit is contained in:
Yan Zhulanow
2020-03-05 20:41:25 +09:00
parent ef698a5747
commit b756e18962
3 changed files with 5 additions and 5 deletions
@@ -5,7 +5,7 @@ class Person(val name: String) {
println("Hello $name!")
}
@JsName("helloWithGreeting")
@JsExport
fun <caret>hello(greeting: String) {
println("$greeting $name!")
}