Skip to content

Commit

Permalink
fix type in Untar?
Browse files Browse the repository at this point in the history
  • Loading branch information
bdistin committed Mar 12, 2019
1 parent 2760bdd commit 4ab339d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/Untar.ts
Expand Up @@ -14,7 +14,7 @@ export default class Untar extends Stream {
if (data) return this.write(data, encoding);
}

public async write(data?: string | string[] | Buffer, encoding?: string) {
public async write(data?: string | Buffer | any[] , encoding?: string) {
let buf;
let tBuf;
let bytesBuffer;
Expand Down

0 comments on commit 4ab339d

Please sign in to comment.