Animesh Sahu
01/21/2021, 11:37 AMAnimesh Sahu
01/21/2021, 12:13 PMfun require(module)
it is not required, but somehow functions annotated with @JsModule
seems to have this requirement 🤔turansky
01/21/2021, 3:01 PM@file:JsModule
on fileAnimesh Sahu
01/21/2021, 3:03 PMturansky
01/21/2021, 3:22 PM@JsModule("os")
exterrnal fun arch()
arch() // JS - os()
-------------------------------
@file:JsModule("os")
exterrnal fun arch()
arch() // JS - os.arch()
turansky
01/21/2021, 3:24 PMAnimesh Sahu
01/21/2021, 3:24 PMAnimesh Sahu
01/21/2021, 3:25 PMOk, moving them to a separate file solves the issue blob thinking upside down is it necessary?
turansky
01/21/2021, 3:28 PMAnimesh Sahu
01/21/2021, 3:28 PMAnimesh Sahu
01/21/2021, 3:29 PMturansky
01/21/2021, 4:45 PM