#2388 - Add default tab stop (#2470)

* #2388 - Check for undefined rather than falsey

* Add default tab stop

* Add back tab stop positions

* Add test for default tab stop
This commit is contained in:
Dolan
2023-12-24 03:37:36 +00:00
committed by GitHub
parent abbd695a8f
commit 2bd4aacdd5
6 changed files with 29 additions and 3 deletions

View File

@ -18,6 +18,7 @@ const receiptTabStops = [
const twoTabStops = [{ type: TabStopType.RIGHT, position: TabStopPosition.MAX }];
const doc = new Document({
defaultTabStop: 0,
sections: [
{
properties: {},