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

@ -1,4 +1,4 @@
import { XmlAttributeComponent } from "file/xml-components";
import { XmlAttributeComponent } from "@file/xml-components";
export class HeaderAttributes extends XmlAttributeComponent<{
readonly wpc?: string;

View File

@ -1,6 +1,6 @@
import { expect } from "chai";
import { Formatter } from "export/formatter";
import { Formatter } from "@export/formatter";
import { Paragraph } from "../paragraph";
import { Header } from "./header";

View File

@ -1,5 +1,5 @@
// http://officeopenxml.com/WPheaders.php
import { InitializableXmlComponent, XmlComponent } from "file/xml-components";
import { InitializableXmlComponent, XmlComponent } from "@file/xml-components";
import { Paragraph } from "../paragraph";
import { Table } from "../table";
import { HeaderAttributes } from "./header-attributes";