Improve import alias
@file/ and @export/ instead of file/ and export/ etc
This commit is contained in:
@ -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", () => {
|
||||
|
@ -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";
|
||||
|
||||
|
@ -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) {
|
||||
|
@ -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) {
|
||||
|
Reference in New Issue
Block a user