From ebbf6a99c1b7176bd84143021a2ead05e91c0f37 Mon Sep 17 00:00:00 2001 From: Dolan Date: Tue, 19 Sep 2017 15:51:55 +0100 Subject: [PATCH] Make exporting more consistent --- ts/docx/index.ts | 7 ++----- ts/docx/run/index.ts | 2 ++ 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/ts/docx/index.ts b/ts/docx/index.ts index 299cf9463d..9e7f554a4e 100644 --- a/ts/docx/index.ts +++ b/ts/docx/index.ts @@ -1,7 +1,4 @@ -export { Document } from "./document"; +export * from "./document"; export * from "./paragraph"; -export { Run } from "./run"; -export { TextRun } from "./run/text-run"; -export { PictureRun } from "./run/picture-run"; +export * from "./run"; export { Table } from "./table"; -// Perhaps all run related stuff can be exported from run, instead of exporting Run, TextRun, PictureRun seperately. diff --git a/ts/docx/run/index.ts b/ts/docx/run/index.ts index 11d8ba33a9..6ac823e9bb 100644 --- a/ts/docx/run/index.ts +++ b/ts/docx/run/index.ts @@ -1 +1,3 @@ export * from "./run"; +export * from "./text-run"; +export * from "./picture-run";