[K/JS] Add ability to exclude declarations from export by a new annotation @JsExport.Ignore.

This commit is contained in:
Artem Kobzar
2022-10-03 11:07:25 +00:00
committed by Space Team
parent 917c8606f5
commit eb2326eabb
49 changed files with 970 additions and 42 deletions
@@ -13,7 +13,10 @@ package a
expect annotation class A(val x: Int)
@OptionalExpectation
expect annotation class B(val s: String)
expect annotation class B(val s: String) {
@OptionalExpectation
annotation class C(val a: Boolean)
}
// FILE: actual.kt
@@ -33,6 +36,7 @@ import a.B
@A(42)
@B("OK")
@B.C(true)
fun box(): String {
return "OK"
}