From 1cf9255f3dedf84b1ff00bdac383b73984acbc61 Mon Sep 17 00:00:00 2001 From: Dolan Miu Date: Thu, 30 Sep 2021 02:55:47 +0100 Subject: [PATCH] Fix demo 68 --- demo/68-numbering-instances-and-starting-number.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/demo/68-numbering-instances-and-starting-number.ts b/demo/68-numbering-instances-and-starting-number.ts index 67fb1cdc3b..ac4975ba22 100644 --- a/demo/68-numbering-instances-and-starting-number.ts +++ b/demo/68-numbering-instances-and-starting-number.ts @@ -1,5 +1,5 @@ import * as fs from "fs"; -import { Document, Packer, Paragraph, PageNumberFormat } from "../build"; +import { Document, Packer, Paragraph, LevelFormat } from "../build"; const doc = new Document({ numbering: { @@ -9,7 +9,7 @@ const doc = new Document({ levels: [ { level: 0, - format: PageNumberFormat.DECIMAL, + format: LevelFormat.DECIMAL, text: "%1", start: 10, }, @@ -20,7 +20,7 @@ const doc = new Document({ levels: [ { level: 0, - format: PageNumberFormat.DECIMAL, + format: LevelFormat.DECIMAL, text: "%1", }, ],