java2typescript icon indicating copy to clipboard operation
java2typescript copied to clipboard

Consider supporting GraalJS' foreign-object-prototype

Open pintomau opened this issue 2 years ago • 9 comments

As explained in the documentation https://www.graalvm.org/reference-manual/js/Options/#to-the-launcher

--js.foreign-object-prototype: provide JavaScript’s default prototype to foreign objects that mimic JavaScript’s own types (foreign Arrays, Objects and Functions). Boolean value, default is false.

So, for example, List<E> could extend Array<E> and so on.

pintomau avatar Sep 26 '21 23:09 pintomau