diff --git a/src/file/file.ts b/src/file/file.ts index ded794fd40..10a85bf79a 100644 --- a/src/file/file.ts +++ b/src/file/file.ts @@ -1,3 +1,4 @@ +import * as shortid from "shortid"; import { AppProperties } from "./app-properties/app-properties"; import { ContentTypes } from "./content-types/content-types"; import { CoreProperties, IPropertiesOptions } from "./core-properties"; @@ -25,7 +26,6 @@ import { ExternalStylesFactory } from "./styles/external-styles-factory"; import { DefaultStylesFactory } from "./styles/factory"; import { Table } from "./table"; import { TableOfContents } from "./table-of-contents"; -import * as shortid from "shortid"; export interface ISectionOptions { readonly headers?: { diff --git a/src/file/paragraph/links/hyperlink.spec.ts b/src/file/paragraph/links/hyperlink.spec.ts index 836f3f733f..93b59e07b6 100644 --- a/src/file/paragraph/links/hyperlink.spec.ts +++ b/src/file/paragraph/links/hyperlink.spec.ts @@ -8,7 +8,7 @@ describe("Hyperlink", () => { let hyperlink: Hyperlink; beforeEach(() => { - hyperlink = new Hyperlink("https://example.com", 'superid'); + hyperlink = new Hyperlink("https://example.com", "superid"); }); describe("#constructor()", () => { @@ -34,7 +34,7 @@ describe("Hyperlink", () => { describe("with optional anchor parameter", () => { beforeEach(() => { - hyperlink = new Hyperlink("Anchor Text", 'superid2', "anchor"); + hyperlink = new Hyperlink("Anchor Text", "superid2", "anchor"); }); it("should create an internal link with anchor tag", () => {