fabianterhorst
private external fun require(module: String): MyModule fun get(): MyModule { return require("myModule") } external interface MyModule { fun myMethod(...) }
gildor
jmhmccr
@JsModule
@JsModule("myModule") external interface MyModule { fun myMethod(...) }
A modern programming language that makes developers happier.