fixed attribute
This commit is contained in:
@ -1,12 +1,13 @@
|
||||
import {Packer} from "./packer";
|
||||
import * as fs from 'fs';
|
||||
import {Document} from "../../docx/document";
|
||||
import {Properties} from "../../properties";
|
||||
|
||||
export class LocalPacker extends Packer {
|
||||
private stream: fs.WriteStream
|
||||
|
||||
constructor(document: Document, path: string) {
|
||||
super(document, null, null);
|
||||
constructor(document: Document, style: any, properties: Properties, path: string) {
|
||||
super(document, null, properties);
|
||||
this.stream = fs.createWriteStream(path);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user