Convert TypeScript definitions (d.ts files) into ActionScript classes and interfaces for use as external libraries with Apache FlexJS
--target
option now supports a value of Latest
, and it is now the default./// <reference types="module-name" />
were not detected as dependencies.Number
in ActionScript.keyof SomeType
failed to be translated to String
in ActionScript.null
, undefined
, and never
types failed to be translated to an appropriate ActionScript type.--moduleMetadata
argument to add [JSModule]
to generated output when a TypeScript external module is encountered. This metadata is used by Apache FlexJS to automatically require modules in generated JavaScript.dts2as
can now fully parse the Node.js standard library, which is available on DefinitelyTyped as node.d.ts
.*
instead of Object
when certain conflicts occur.this
as a return type./// <reference path="path/to/file.ts" />
would not compile when dts2as --outSWC
argument was used.