From ee28f6ad84e9776367322d5b18b26eabf79ead66 Mon Sep 17 00:00:00 2001 From: Dolan Miu Date: Sat, 24 Dec 2022 19:49:13 +0000 Subject: [PATCH] Revert demo 75 --- demo/75-tab-stops.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demo/75-tab-stops.ts b/demo/75-tab-stops.ts index a9ea5deed1..376d8cae51 100644 --- a/demo/75-tab-stops.ts +++ b/demo/75-tab-stops.ts @@ -1,7 +1,7 @@ // Example of using tab stops // Import from 'docx' rather than '../build' if you install from npm import * as fs from "fs"; -import { Document, HeadingLevel, Packer, Paragraph, TabStopPosition, TabStopType, TextRun, Tab } from "../build"; +import { Document, HeadingLevel, Packer, Paragraph, TabStopPosition, TabStopType, TextRun } from "../build"; const columnWidth = TabStopPosition.MAX / 4; const receiptTabStops = [ @@ -30,7 +30,7 @@ const doc = new Document({ tabStops: twoTabStops, children: [ new TextRun({ - children: ["To Bob.", new Tab(), "By Alice."], + text: "To Bob.\tBy Alice.", bold: true, }), ],