fix: The append function accepts ReadStreams, Buffers and strings (#10021)

* fix: The append function accepts ReadStreams, Buffers and strings

* chore: Space before and after |
This commit is contained in:
Mihailescu Marian Valentin
2016-07-09 09:29:18 +03:00
committed by Masahiro Wakame
parent ead4d214f7
commit 90dc1f65a2

View File

@@ -24,7 +24,7 @@ declare module "archiver" {
interface Archiver extends STREAM.Transform {
pipe(writeStream: FS.WriteStream): void;
append(readStream: FS.ReadStream, name: nameInterface): void;
append(source: FS.ReadStream | Buffer | string, name: nameInterface): void;
finalize(): void;
}