mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 08:26:35 +08:00
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:
committed by
Masahiro Wakame
parent
ead4d214f7
commit
90dc1f65a2
2
archiver/archiver.d.ts
vendored
2
archiver/archiver.d.ts
vendored
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user