"use strict";
function indent(content, space) {
    var indentContent = "";
    if (typeof space === "number") {
        for (var index = 0; index < space; index++) {
            indentContent += " ";
        }
    }
    else {
        indentContent = space;
    }
    var result = indentContent + content.replace(/\n/g, "\n" + indentContent);
    result = result.replace(/\n\s+/g, "\n");
    return result;
}
exports.indent = indent;
//# sourceMappingURL=util.js.map