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";