UNPKG

as2dts

Version:

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

15 lines (12 loc) 258 B
class Token { constructor( public text: string, public index: number, public isNumeric = false, public isXML = false ) { } get end() { return this.index + this.text.length; } } export = Token;