Improve import alias

@file/ and @export/ instead of file/ and export/ etc
This commit is contained in:
Dolan Miu
2022-06-26 23:26:42 +01:00
parent c19bc6b4b3
commit 982d923553
380 changed files with 758 additions and 521 deletions

View File

@ -2,7 +2,7 @@ import { expect } from "chai";
import { DocumentDefaults } from "./document-defaults";
import { Formatter } from "export/formatter";
import { Formatter } from "@export/formatter";
describe("DocumentDefaults", () => {
it("#constructor", () => {

View File

@ -1,6 +1,6 @@
import { IParagraphStylePropertiesOptions } from "file/paragraph/properties";
import { IRunStylePropertiesOptions } from "file/paragraph/run/properties";
import { XmlComponent } from "file/xml-components";
import { IParagraphStylePropertiesOptions } from "@file/paragraph/properties";
import { IRunStylePropertiesOptions } from "@file/paragraph/run/properties";
import { XmlComponent } from "@file/xml-components";
import { ParagraphPropertiesDefaults } from "./paragraph-properties";
import { RunPropertiesDefaults } from "./run-properties";

View File

@ -1,5 +1,5 @@
import { IParagraphStylePropertiesOptions, ParagraphProperties } from "file/paragraph/properties";
import { XmlComponent } from "file/xml-components";
import { IParagraphStylePropertiesOptions, ParagraphProperties } from "@file/paragraph/properties";
import { XmlComponent } from "@file/xml-components";
export class ParagraphPropertiesDefaults extends XmlComponent {
constructor(options?: IParagraphStylePropertiesOptions) {

View File

@ -1,5 +1,5 @@
import { IRunStylePropertiesOptions, RunProperties } from "file/paragraph/run/properties";
import { XmlComponent } from "file/xml-components";
import { IRunStylePropertiesOptions, RunProperties } from "@file/paragraph/run/properties";
import { XmlComponent } from "@file/xml-components";
export class RunPropertiesDefaults extends XmlComponent {
constructor(options?: IRunStylePropertiesOptions) {