#1583 Comments to always write default data

This commit is contained in:
Dolan Miu
2022-07-12 16:57:25 +01:00
parent f183d38bb3
commit a7d55a52f3
3 changed files with 14 additions and 24 deletions

View File

@ -71,10 +71,7 @@ export class File {
},
);
if (options.comments) {
this.comments = new Comments(options.comments);
}
this.comments = new Comments(options.comments ?? { children: [] });
this.fileRelationships = new Relationships();
this.customProperties = new CustomProperties(options.customProperties ?? []);
this.appProperties = new AppProperties();