Improve import alias
@file/ and @export/ instead of file/ and export/ etc
This commit is contained in:
@ -1,5 +1,7 @@
|
||||
import { expect } from "chai";
|
||||
import { Formatter } from "export/formatter";
|
||||
|
||||
import { Formatter } from "@export/formatter";
|
||||
|
||||
import { DeletedNumberOfPages, DeletedNumberOfPagesSection, DeletedPage } from "./deleted-page-number";
|
||||
|
||||
describe("Deleted Page", () => {
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { TextAttributes } from "file/paragraph/run/text-attributes";
|
||||
import { SpaceType } from "file/space-type";
|
||||
import { XmlComponent } from "file/xml-components";
|
||||
import { TextAttributes } from "@file/paragraph/run/text-attributes";
|
||||
import { SpaceType } from "@file/space-type";
|
||||
import { XmlComponent } from "@file/xml-components";
|
||||
|
||||
export class DeletedPage extends XmlComponent {
|
||||
constructor() {
|
||||
|
@ -1,6 +1,9 @@
|
||||
import { expect } from "chai";
|
||||
import { Formatter } from "export/formatter";
|
||||
import { FootnoteReferenceRun, PageNumber } from "../../index";
|
||||
|
||||
import { Formatter } from "@export/formatter";
|
||||
import { FootnoteReferenceRun } from "@file/footnotes";
|
||||
import { PageNumber } from "@file/paragraph";
|
||||
|
||||
import { DeletedTextRun } from "./deleted-text-run";
|
||||
|
||||
describe("DeletedTextRun", () => {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { XmlComponent } from "file/xml-components";
|
||||
import { XmlComponent } from "@file/xml-components";
|
||||
|
||||
import { IRunOptions, RunProperties } from "../../index";
|
||||
import { Break } from "../../paragraph/run/break";
|
||||
|
@ -1,5 +1,7 @@
|
||||
import { expect } from "chai";
|
||||
import { Formatter } from "export/formatter";
|
||||
|
||||
import { Formatter } from "@export/formatter";
|
||||
|
||||
import { DeletedText } from "./deleted-text";
|
||||
|
||||
describe("Deleted Text", () => {
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { TextAttributes } from "file/paragraph/run/text-attributes";
|
||||
import { SpaceType } from "file/space-type";
|
||||
import { XmlComponent } from "file/xml-components";
|
||||
import { TextAttributes } from "@file/paragraph/run/text-attributes";
|
||||
import { SpaceType } from "@file/space-type";
|
||||
import { XmlComponent } from "@file/xml-components";
|
||||
|
||||
export class DeletedText extends XmlComponent {
|
||||
constructor(text: string) {
|
||||
|
@ -1,5 +1,7 @@
|
||||
import { expect } from "chai";
|
||||
import { Formatter } from "export/formatter";
|
||||
|
||||
import { Formatter } from "@export/formatter";
|
||||
|
||||
import { InsertedTextRun } from "./inserted-text-run";
|
||||
|
||||
describe("InsertedTextRun", () => {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { XmlComponent } from "file/xml-components";
|
||||
import { XmlComponent } from "@file/xml-components";
|
||||
|
||||
import { IRunOptions, TextRun } from "../../index";
|
||||
import { ChangeAttributes, IChangedAttributesProperties } from "../track-revision";
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { XmlAttributeComponent } from "file/xml-components";
|
||||
import { XmlAttributeComponent } from "@file/xml-components";
|
||||
|
||||
export interface IChangedAttributesProperties {
|
||||
readonly id: number;
|
||||
|
Reference in New Issue
Block a user