Skip to content
João Bispo edited this page May 29, 2024 · 3 revisions

Roadmap

  • Extend language specification to include generic types

Conversion to TypeScript

node-java

When using code such as public static AScope scope(AStatement... statements) { /*...*/ }, (note the AStatement... type of the arguments) the code in JS/TS should call this method with individual arguments instead of an array. This is due to node-java's behaviour. If an array is passed, the Java type inferred will be Object[] and an error will be thrown. However, if arguments are passed individually, each argument will receive the correct type. In summary, node-java is not capable of inferring an array's type.

Eliminated globals

Io.ts

  • fmkdir(fileOrBaseFolder: any, optionalFile?: JavaClasses.File | string ) - Calls mkdir.
Clone this wiki locally