@@ -11,15 +11,15 @@ declare module "kareem" {
11
11
clone ( ) : Kareem ;
12
12
merge ( other : Kareem , clone ?: boolean ) : this;
13
13
14
- createWrapper ( name : string , fn : Function , context ?: any , options ?: any ) : Function ;
14
+ createWrapper ( name : string , fn : Function , context ?: any , options ?: Record < string , any > ) : Function ;
15
15
createWrapperSync ( name : string , fn : Function ) : Function ;
16
16
hasHooks ( name : string ) : boolean ;
17
17
filter ( fn : Function ) : Kareem ;
18
18
19
- wrap ( name : string , fn : Function , context : any , args : any [ ] , options ?: any ) : Function ;
19
+ wrap ( name : string , fn : Function , context : any , args : any [ ] , options ?: Record < string , any > ) : Function ;
20
20
21
21
execPostSync ( name : string , context : any , args : any [ ] ) : any ;
22
- execPost ( name : string , context : any , args : any [ ] , options ?: any , callback ?: Function ) : void ;
22
+ execPost ( name : string , context : any , args : any [ ] , options ?: Record < string , any > , callback ?: Function ) : void ;
23
23
execPreSync ( name : string , context : any , args : any [ ] ) : any ;
24
24
execPre ( name : string , context : any , args : any [ ] , callback ?: Function ) : void ;
25
25
}
0 commit comments