Fixed TSLint Errors

This commit is contained in:
Tyler Bell
2018-05-18 09:21:27 -06:00
parent 7296c9e744
commit 7584671312
9 changed files with 17 additions and 20 deletions

View File

@ -2,12 +2,12 @@ import { XmlComponent } from "file/xml-components";
import { HeaderReferenceAttributes } from "./header-reference-attributes";
export class HeaderReference extends XmlComponent {
constructor(order, ref_id) {
constructor(order: string, refID: number) {
super("w:headerReference");
this.root.push(
new HeaderReferenceAttributes({
type: order,
id: `rId${ref_id}`,
id: `rId${refID}`,
}),
);
}