-
I'm pulling J4TS into my project as a Maven dependency, and it works fine* as long as I use JSweet with module=none. If I turn on module=commonjs or module=es2015, the errors from the transpiler are …
vorth updated
3 years ago
-
To replicate the error: check out a new copy of https://github.com/cincheo/jsweet-quickstart.git. Then change the main method to this:
```
public static void main(String[] args) throws NoSuchFie…
-
Hi all,
Recently, i am using the elemental2-core for using js type of Int8Array, but got exception.
if anyone can tell what i am wrong. thanks.
**jdk is 1.8 and 1.11**
dependency is using :
…
-
Looking at the implementation in TS of hash sets without j4ts, it appears that the contains and remove operations are just using indexOf (which does a full scan of the list). This is an O(n) operation…
-
how to workaround this
-
Basically, I'm just looking for a way to type the value of a javascript object like
`public class TypedObject extends jsweet.lang.Object`
such that the methods (only the Java side, of course) en…
-
Hello - there are many ways to install Node, and my machine is using Volta, thus Node appears here:
```
priand@priand-mac java % which node
/Users/priand/.volta/bin/node
```
This breaks when bein…
-
Argument of type 'Example$0' is not assignable to parameter of type '() => void'.
Type 'Example$0' provides no match for the signature '(): void'.ts(2345)
```
inEventQueue.add(new Runnable() {
…
-
Hello:
I'm trying to convert a TS definition file into a JSweet Candy, using the Candy Generator. But I've found problems with some new line characters. Specifically, with those situated in these p…
-
Hi,
Following code is not translatable:
```
import java.util.stream.Stream;
import java.util.stream.Collectors;
Stream.of("hello", "world").collect(Collectors.toList())
```
[Live sandbox ](…