UNPKG

as2dts

Version:

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

15 lines (13 loc) 330 B
var StringBuffer = (function () { function StringBuffer() { this.text = ''; } StringBuffer.prototype.append = function (text) { this.text += text; }; StringBuffer.prototype.toString = function () { return this.text; }; return StringBuffer; })(); module.exports = StringBuffer;