Skip to content

Commit

Permalink
update jsdoc for BlockTextBuilder.closeTable
Browse files Browse the repository at this point in the history
  • Loading branch information
KillyMXI committed Dec 6, 2022
1 parent fc00ae3 commit 5e8e413
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/base/src/block-text-builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ class BlockTextBuilder {
/**
* Finalize currently built table and add the rendered text to the parent block.
*
* @param { object } [param0]
* @param { object } param0
* Object holding the parameters of the table.
*
* @param { TablePrinter } param0.tableToString
Expand All @@ -420,7 +420,7 @@ class BlockTextBuilder {
* @param { number } [param0.trailingLineBreaks]
* This table should have at least this number of line breaks to separate it from any following block.
*/
closeTable ({ tableToString, leadingLineBreaks = 2, trailingLineBreaks = 2 } = {}) {
closeTable ({ tableToString, leadingLineBreaks = 2, trailingLineBreaks = 2 }) {
const table = this._popStackItem();
const output = tableToString(table.rows);
if (output) {
Expand Down

0 comments on commit 5e8e413

Please sign in to comment.