@zoodogood/utils 1.0.6-change.696 → 1.0.6-change.700
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -33,6 +33,7 @@ class TextTableGenerator {
|
|
|
33
33
|
if (this.options.borderBottom !== null) {
|
|
34
34
|
context.content += this.drawBlockBorder(BorderDirectionEnum.BorderBottom);
|
|
35
35
|
}
|
|
36
|
+
console.log(JSON.stringify(this));
|
|
36
37
|
return context.content;
|
|
37
38
|
}
|
|
38
39
|
getColumns() {
|
|
@@ -259,3 +260,6 @@ class TextTableBuilder {
|
|
|
259
260
|
}
|
|
260
261
|
export { TextTableBuilder };
|
|
261
262
|
export { SpecialRowTypeEnum, CellAlignEnum, BorderDirectionEnum };
|
|
263
|
+
const builder = new TextTableBuilder()
|
|
264
|
+
.addRowWithElements(["1", "2", "3"]);
|
|
265
|
+
console.log(builder.generateTextContent());
|