Make the internal hyperlink consistent

This commit is contained in:
Rowan Cockett
2021-08-31 19:54:33 -06:00
parent 243d73542f
commit 41f516d64b
3 changed files with 21 additions and 15 deletions

View File

@ -33,8 +33,8 @@ export class ConcreteHyperlink extends XmlComponent {
}
export class InternalHyperlink extends ConcreteHyperlink {
constructor(options: { readonly child: ParagraphChild; readonly anchor: string }) {
super([options.child], uniqueId(), options.anchor);
constructor(options: { readonly children: ParagraphChild[]; readonly anchor: string }) {
super(options.children, uniqueId(), options.anchor);
}
}