Open lalalic opened 2 years ago
should jsweet use full qualified name for Collections and System even when module transpiling?
or add such import
import Collections=java.util.Collections
import System=java.lang.System
how can I change the source code to get this expected TS?
Did you take a look at the module options in https://github.com/lgrignon/jsweet-maven-plugin README?
Some examples are available on the JSweet website as well
transpiled as following:
js as following:
j4ts has been added as candy.
So the problem is how and where to configure to make the js Util work with Collections, and System at runtime, which is actually at java.util.Collections, and java.lang.System in j4ts.js.