Files
docx-js/ts/docx/run/text-run.ts
2016-05-09 13:02:59 +01:00

10 lines
190 B
TypeScript

import {Text} from "./text";
import {Run} from "../run";
export class TextRun extends Run {
constructor(text: string) {
super();
this.root.push(new Text(text));
}
}