File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -136,9 +136,9 @@ declare type Config = {
136136}
137137
138138declare type SyncReturn = Error | void ;
139- declare type IPackageStorage = Error | void ;
140139
141140declare module "@verdaccio/local-storage" {
141+ declare type IPackageStorage = ILocalPackageManager | void ;
142142 declare export interface ILocalPackageManager {
143143 writeTarball ( name : string ) : Stream ;
144144 readTarball ( readTarballStream : any , callback ? : Callback ) : Stream ;
@@ -158,7 +158,7 @@ declare module "@verdaccio/local-storage" {
158158 add ( name : string ) : SyncReturn ;
159159 remove ( name : string ) : SyncReturn ;
160160 get ( ) : StorageList ;
161- getPackageStorage ( packageInfo : string , packagePath : string ) : IPackageStorage ;
161+ getPackageStorage ( packageInfo : string ) : IPackageStorage ;
162162 sync ( ) : ?SyncReturn ;
163163 }
164164
@@ -167,7 +167,7 @@ declare module "@verdaccio/local-storage" {
167167 }
168168
169169 declare module.exports: typeof LocalDatabase;
170- declare export type IPackageStorage = IPackageStorage ;
170+ // declare export type IPackageStorage = IPackageStorage;
171171}
172172
173173
You can’t perform that action at this time.
0 commit comments