Correctly exporting methods

This commit is contained in:
Dolan
2019-11-23 02:26:59 +00:00
parent bf1d10e893
commit b37aefdc8d
8 changed files with 15 additions and 11 deletions

View File

@ -1,8 +1,7 @@
// Page numbers
// Import from 'docx' rather than '../build' if you install from npm
import * as fs from "fs";
import { AlignmentType, Document, Header, Packer, PageBreak, Paragraph, TextRun } from "../build";
import { PageNumber } from "../build/file/paragraph";
import { AlignmentType, Document, Header, Packer, PageBreak, PageNumber, Paragraph, TextRun } from "../build";
const doc = new Document();