minimal adjustments
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / table / dist / drawRow.js.flow
1 /**
2  * @typedef {object} drawRow~border
3  * @property {string} bodyLeft
4  * @property {string} bodyRight
5  * @property {string} bodyJoin
6  */
7
8 /**
9  * @param {number[]} columns
10  * @param {drawRow~border} border
11  * @returns {string}
12  */
13 export default (columns, border) => {
14   return border.bodyLeft + columns.join(border.bodyJoin) + border.bodyRight + '\n';
15 };