@lf-lang/reactor-ts
Version:
A reactor-oriented programming framework in TypeScript
12 lines • 414 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.dontIndent = dontIndent;
/**
* Remove indentation in the multi-line string.
* @param template Multi-line string whose indentation should be removed.
* @returns String without indentation.
*/
function dontIndent(template) {
return ("" + template.toString()).replace(/(\n)\s+/g, "$1");
}
//# sourceMappingURL=strings.js.map