<@U0B8AHRBM>: you can achieve the same by declare ...
# javascript
b
@igorlukanin: you can achieve the same by declare
@native fun require(moduleName: String): dynamic
or
@native fun <T> require(moduleName: String): T