added types for app-root-path
This commit is contained in:
@ -27,6 +27,7 @@
|
||||
"clippy"
|
||||
],
|
||||
"dependencies": {
|
||||
"@types/app-root-path": "^1.2.4",
|
||||
"@types/archiver": "^0.15.37",
|
||||
"@types/express": "^4.0.35",
|
||||
"@types/lodash": "^4.14.54",
|
||||
|
@ -1,3 +1,4 @@
|
||||
import * as appRoot from "app-root-path";
|
||||
import * as archiver from "archiver";
|
||||
import * as fs from "fs";
|
||||
import * as xml from "xml";
|
||||
@ -8,8 +9,6 @@ import { Styles } from "../../styles";
|
||||
import { DefaultStylesFactory } from "../../styles/factory";
|
||||
import { Formatter } from "../formatter";
|
||||
|
||||
const appRoot = require("app-root-path");
|
||||
|
||||
export abstract class Packer {
|
||||
protected archive: any;
|
||||
protected document: Document;
|
||||
|
Reference in New Issue
Block a user