選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 

21 行
439 B

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