Releases: crossrails/compiler
Releases · crossrails/compiler
What's New
- Support for TypeScript declaration files - the compiler will look for a .d.ts beside the input js file or you can specify one via the --declarationFile option
- Support for bower and npm manifest files - the compiler will look for a package.json or bower,json in the current directory if no input file specified (or you can specify a manifest file explicitly), it will then use the "main" and "typings" attributes to resolve the input file and declaration file if one specified
- Swift output updated to Swift 3.0 GM Candidate
- Support for TypeScript optional function parameters using default values in Swift and overloads in Java
- Support for TypeScript Namespaces, using structs in Swift and Classes in Java - http://www.typescriptlang.org/docs/handbook/namespaces.html
- Support for TypeScript Type Inference - http://www.typescriptlang.org/docs/handbook/type-inference.html
- Support for TypeScript Declaration Merging - http://www.typescriptlang.org/docs/handbook/declaration-merging.html
- Any unexported types referenced in the exported interface of your library will now be automatically exported to ensure output compiles
- Errors are logged for any method overload that clash due to type erasure when outputting to Java