Improve import alias
@file/ and @export/ instead of file/ and export/ etc
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import { XmlAttributeComponent } from "file/xml-components";
|
||||
import { XmlAttributeComponent } from "@file/xml-components";
|
||||
|
||||
export class FootnoteAttributes extends XmlAttributeComponent<{
|
||||
readonly type?: string;
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { expect } from "chai";
|
||||
|
||||
import { Formatter } from "export/formatter";
|
||||
import { Paragraph, TextRun } from "file/paragraph";
|
||||
import { Formatter } from "@export/formatter";
|
||||
import { Paragraph, TextRun } from "@file/paragraph";
|
||||
|
||||
import { Footnote, FootnoteType } from "./footnote";
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Paragraph } from "file/paragraph";
|
||||
import { XmlComponent } from "file/xml-components";
|
||||
import { Paragraph } from "@file/paragraph";
|
||||
import { XmlComponent } from "@file/xml-components";
|
||||
|
||||
import { FootnoteAttributes } from "./footnote-attributes";
|
||||
import { FootnoteRefRun } from "./run/footnote-ref-run";
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { Run } from "file/paragraph";
|
||||
import { Run } from "@file/paragraph";
|
||||
import { ContinuationSeperator } from "./continuation-seperator";
|
||||
|
||||
export class ContinuationSeperatorRun extends Run {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { XmlComponent } from "file/xml-components";
|
||||
import { XmlComponent } from "@file/xml-components";
|
||||
|
||||
export class ContinuationSeperator extends XmlComponent {
|
||||
constructor() {
|
||||
|
@ -1,4 +1,5 @@
|
||||
import { Run } from "file/paragraph";
|
||||
import { Run } from "@file/paragraph";
|
||||
|
||||
import { FootnoteRef } from "./footnote-ref";
|
||||
|
||||
export class FootnoteRefRun extends Run {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { XmlComponent } from "file/xml-components";
|
||||
import { XmlComponent } from "@file/xml-components";
|
||||
|
||||
export class FootnoteRef extends XmlComponent {
|
||||
constructor() {
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Run } from "file/paragraph/run";
|
||||
import { XmlAttributeComponent, XmlComponent } from "file/xml-components";
|
||||
import { Run } from "@file/paragraph/run";
|
||||
import { XmlAttributeComponent, XmlComponent } from "@file/xml-components";
|
||||
|
||||
export class FootNoteReferenceRunAttributes extends XmlAttributeComponent<{
|
||||
readonly id: number;
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { Run } from "file/paragraph";
|
||||
import { Run } from "@file/paragraph";
|
||||
import { Seperator } from "./seperator";
|
||||
|
||||
export class SeperatorRun extends Run {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { XmlComponent } from "file/xml-components";
|
||||
import { XmlComponent } from "@file/xml-components";
|
||||
|
||||
export class Seperator extends XmlComponent {
|
||||
constructor() {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { XmlAttributeComponent } from "file/xml-components";
|
||||
import { XmlAttributeComponent } from "@file/xml-components";
|
||||
|
||||
export class FootnotesAttributes extends XmlAttributeComponent<{
|
||||
readonly wpc?: string;
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { XmlComponent } from "file/xml-components";
|
||||
import { XmlComponent } from "@file/xml-components";
|
||||
|
||||
import { LineRuleType, Paragraph } from "../paragraph";
|
||||
import { Footnote, FootnoteType } from "./footnote/footnote";
|
||||
|
Reference in New Issue
Block a user