From e59c255d85ffb807b55840ee0f4bec1bafe54ba0 Mon Sep 17 00:00:00 2001 From: Dolan Date: Sat, 15 Apr 2017 23:45:27 +0100 Subject: [PATCH] added type to pack param --- ts/export/packer/packer.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ts/export/packer/packer.ts b/ts/export/packer/packer.ts index 6c6d9c422f..7ca1fcc847 100644 --- a/ts/export/packer/packer.ts +++ b/ts/export/packer/packer.ts @@ -1,4 +1,5 @@ import * as archiver from "archiver"; +import * as fs from "fs"; import * as path from "path"; import * as xml from "xml"; import { Document } from "../../docx"; @@ -42,7 +43,7 @@ export abstract class Packer { }); } - public pack(output: any): void { + public pack(output: Express.Response | fs.WriteStream): void { this.archive.pipe(output); this.archive.glob("**", { expand: true,