Update hyperlink.ts

ExternalHyperlink extends XmlComponent
This commit is contained in:
AdaEniac
2022-07-23 15:03:04 +08:00
committed by GitHub
parent efe378e94f
commit 85bafb3eef

View File

@ -38,6 +38,9 @@ export class InternalHyperlink extends ConcreteHyperlink {
} }
} }
export class ExternalHyperlink { export class ExternalHyperlink extends XmlComponent {
constructor(public readonly options: { readonly children: ParagraphChild[]; readonly link: string }) {} constructor(public readonly options: { readonly children: ParagraphChild[]; readonly link: string })
{
super("w:externalHyperlink");
}
} }