fixed archiver right now

This commit is contained in:
Dolan Miu
2016-03-31 18:07:22 +01:00
parent a88a59fd51
commit 8af6262a83
3 changed files with 11 additions and 8 deletions

View File

@ -1,11 +1,11 @@
import {archiver, Zip} from "archiver";
import * as archiver from "archiver";
import * as fs from 'fs';
export class Packer {
protected archive: Zip;
protected archive: any;
constructor() {
this.archive = archiver.create("fgf", {});
this.archive = archiver.create("zip", {});
}
pack(output: fs.WriteStream): void {