clasp-types
Version:
A d.ts generator for clasp projects
26 lines (25 loc) • 641 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Builder = void 0;
var Builder = /** @class */ (function () {
function Builder() {
this.text = '';
}
Builder.prototype.append = function (text) {
this.text += text;
return this;
};
Builder.prototype.doubleLine = function () {
this.text += '\n\n';
return this;
};
Builder.prototype.line = function () {
this.text += '\n';
return this;
};
Builder.prototype.getText = function () {
return this.text;
};
return Builder;
}());
exports.Builder = Builder;