You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
552 B

4 years ago
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.default = void 0;
  6. /**
  7. * @typedef {Object} drawRow~border
  8. * @property {string} bodyLeft
  9. * @property {string} bodyRight
  10. * @property {string} bodyJoin
  11. */
  12. /**
  13. * @param {number[]} columns
  14. * @param {drawRow~border} border
  15. * @returns {string}
  16. */
  17. const drawRow = (columns, border) => {
  18. return border.bodyLeft + columns.join(border.bodyJoin) + border.bodyRight + '\n';
  19. };
  20. var _default = drawRow;
  21. exports.default = _default;
  22. //# sourceMappingURL=drawRow.js.map