[K/JS] Support companion objects in external and exported declarations
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
$kotlin_test_internal$.beginModule();
|
||||
|
||||
module.exports = function() {
|
||||
var { A } = require("main").api
|
||||
|
||||
return {
|
||||
"res": A.ok()
|
||||
};
|
||||
};
|
||||
|
||||
$kotlin_test_internal$.endModule("lib");
|
||||
|
||||
Reference in New Issue
Block a user