Make fields readonly

This commit is contained in:
Dolan
2018-01-29 01:55:25 +00:00
parent 3fe0c76d54
commit 079334f71b
11 changed files with 28 additions and 27 deletions

View File

@ -8,7 +8,7 @@ import { SectionPropertiesOptions } from "./body/section-properties/section-prop
import { DocumentAttributes } from "./document-attributes";
export class Document extends XmlComponent {
private body: Body;
private readonly body: Body;
constructor(sectionPropertiesOptions?: SectionPropertiesOptions) {
super("w:document");