minimal adjustments
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / table / dist / drawRow.js
1 "use strict";
2
3 Object.defineProperty(exports, "__esModule", {
4   value: true
5 });
6 exports.default = void 0;
7
8 /**
9  * @typedef {object} drawRow~border
10  * @property {string} bodyLeft
11  * @property {string} bodyRight
12  * @property {string} bodyJoin
13  */
14
15 /**
16  * @param {number[]} columns
17  * @param {drawRow~border} border
18  * @returns {string}
19  */
20 const drawRow = (columns, border) => {
21   return border.bodyLeft + columns.join(border.bodyJoin) + border.bodyRight + '\n';
22 };
23
24 var _default = drawRow;
25 exports.default = _default;
26 //# sourceMappingURL=drawRow.js.map