Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

dts2as 0.13.0

Latest
Compare
Choose a tag to compare
@joshtynjala joshtynjala released this 14 Jul 22:09
· 2 commits to master since this release
  • The --target option now supports a value of Latest, and it is now the default.
  • If the type of a property, method, or function parameter is not found, still prints an error, but attempts to continue parsing the file.
  • Fixed issue where optional members in TypeScript interfaces became required members in ActionScript.
  • Fixed issue where references to other type definitions in the style of /// <reference types="module-name" /> were not detected as dependencies.
  • Fixed issue where multiple declarations of the same variable was considered an error.
  • Fixed issue where number literal types that were negative failed to be translated to Number in ActionScript.
  • Fixed issue where keyof SomeType failed to be translated to String in ActionScript.
  • Fixed issue where type alias in parent module could not be resolved from submodule.
  • Fixed issue where type alias in submodule could not be resolved from parent module.
  • Fixed issue where null, undefined, and never types failed to be translated to an appropriate ActionScript type.
  • Upgraded to TypeScript 2.4.