added xmlKeys to xmlcomponent
This commit is contained in:
@ -7,7 +7,7 @@ export class ExpressPacker extends Packer {
|
||||
private res: express.Response;
|
||||
|
||||
constructor(document: Document, res: express.Response) {
|
||||
super(document);
|
||||
super(document, null, null);
|
||||
this.res = res;
|
||||
|
||||
this.res.on('close', () => {
|
||||
|
@ -6,7 +6,7 @@ export class LocalPacker extends Packer {
|
||||
private stream: fs.WriteStream
|
||||
|
||||
constructor(document: Document, path: string) {
|
||||
super(document);
|
||||
super(document, null, null);
|
||||
this.stream = fs.createWriteStream(path);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user