Any ideas for the next problem, ```@JsExport abst...
# javascript
a
Any ideas for the next problem,
Copy code
@JsExport
abstract class SampleClass(id: Int, name: String) {
    var id: Int? = id
    var name: String? = name

    @JsExport
    abstract fun description(text: String): String
}
error after build is ........ @JsExport is only allowed on files and top-level declarations If I remove @JsExport from abstract function, it will not be exported in JS. How to solve this ?