diff --git a/src/file/xml-components/xml-component.ts b/src/file/xml-components/xml-component.ts index 93bdbf19fb9..f5181eec8a1 100644 --- a/src/file/xml-components/xml-component.ts +++ b/src/file/xml-components/xml-component.ts @@ -42,6 +42,9 @@ export abstract class XmlComponent extends BaseXmlComponent { }; } + /** + * @deprecated Do not use this method. It is only used internally by the library. It will be removed in a future version. + */ public addChildElement(child: XmlComponent | string): XmlComponent { this.root.push(child);