UNPKG

as2dts

Version:

A command line tool that converts ActionScript 3 classes and interfaces to TypeScript definitions (d.ts files)

15 lines (13 loc) 284 B
module myPackage.test { /*[Meta('dosomething')]*/ /** * hey */ export function hello(param: number): number[] { var hey: string = "hello", arr: any[] = [1, 2, 3]; arr.push(hey.length); return (<number[]>arr); } }