diff --git a/src/file/paragraph/links/hyperlink.ts b/src/file/paragraph/links/hyperlink.ts index 23f7b10219..d6fe5e73b0 100644 --- a/src/file/paragraph/links/hyperlink.ts +++ b/src/file/paragraph/links/hyperlink.ts @@ -38,6 +38,9 @@ export class InternalHyperlink extends ConcreteHyperlink { } } -export class ExternalHyperlink { - constructor(public readonly options: { readonly children: ParagraphChild[]; readonly link: string }) {} +export class ExternalHyperlink extends XmlComponent { + constructor(public readonly options: { readonly children: ParagraphChild[]; readonly link: string }) + { + super("w:externalHyperlink"); + } }