as3-to-typescript is a tool that helps porting as3 codebase to typescript. Written in typescript itself, the tool runs on top of NodeJS, working from the command line. It will not transform an entire codebase into perfect typescript, doing the required adjustments that just a programmer could do.

The tool’s goal is to transform the sources into syntactically correct typescript. It will not try to provide javascript implementation for flash libraries either. Besides those limitations, the tool is based on an actual actionscript parser, so it should be able to handle most of as3 constructs and greatly ease the pain of porting a large code base written in as3 to typescript.


as3-to-typescript /path/to/source_dir path/to/output_dir 
Misc. URL.