Skip to content

Commit

Permalink
fix: update streams type
Browse files Browse the repository at this point in the history
  • Loading branch information
@jotadeveloper authored and sergiohgz committed Jul 25, 2019
1 parent 67ab82e commit 7fa7be5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/types/src/types.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ declare type SyncReturn = Error | void;
declare module "@verdaccio/local-storage" {
declare type IPackageStorage = ILocalPackageManager | void;
declare export interface ILocalPackageManager {
writeTarball(name: string): Stream;
readTarball(readTarballStream: any, callback?: Callback): Stream;
writeTarball(name: string): stream$PassThrough;
readTarball(readTarballStream: any, callback?: Callback): stream$PassThrough;
readPackage(fileName: string, callback: Callback): void;
createPackage(name: string, value: any, cb: Callback): void;
deletePackage(fileName: string, callback: Callback): void;
Expand Down

0 comments on commit 7fa7be5

Please sign in to comment.