jsweet
jsweet copied to clipboard
java: new String(a bytes[], b charset) => ts: new String(a,b), error: Expected 0-1 arguments, but got 2.
how to workaround this
this can make typescript compile
declare interface StringConstructor{
new(value?: any, charset?:any): String;
}
but how to override encoding?
Hello, which JSweet version? Are you using J4TS?