@@ -55,7 +55,7 @@ export class SyncHook<T extends any[], R = void> extends Hook<T, R> {
55
55
}
56
56
57
57
export class SyncBailHook < T extends any [ ] , R > extends SyncHook < T , R > { }
58
- export class SyncLoopHook < T extends any [ ] , R > extends SyncHook < T , R > { }
58
+ export class SyncLoopHook < T extends any [ ] > extends SyncHook < T , void > { }
59
59
export class SyncWaterfallHook < T extends any [ ] > extends SyncHook < T , T [ 0 ] > { }
60
60
61
61
declare class AsyncHook < T extends any [ ] , R > extends Hook < T , R > {
@@ -66,14 +66,14 @@ declare class AsyncHook<T extends any[], R> extends Hook<T, R> {
66
66
tapPromise ( options : string | Tap , fn : ( ...args : T ) => Promise < R > ) : void ;
67
67
}
68
68
69
- export class AsyncParallelHook < T extends any [ ] , R > extends AsyncHook < T , R > { }
69
+ export class AsyncParallelHook < T extends any [ ] > extends AsyncHook < T , void > { }
70
70
export class AsyncParallelBailHook < T extends any [ ] , R > extends AsyncHook <
71
71
T ,
72
72
R
73
73
> { }
74
- export class AsyncSeriesHook < T extends any [ ] , R > extends AsyncHook < T , R > { }
74
+ export class AsyncSeriesHook < T extends any [ ] > extends AsyncHook < T , void > { }
75
75
export class AsyncSeriesBailHook < T extends any [ ] , R > extends AsyncHook < T , R > { }
76
- export class AsyncSeriesLoopHook < T extends any [ ] , R > extends AsyncHook < T , R > { }
76
+ export class AsyncSeriesLoopHook < T extends any [ ] > extends AsyncHook < T , void > { }
77
77
export class AsyncSeriesWaterfallHook < T extends any [ ] > extends AsyncHook <
78
78
T ,
79
79
T [ 0 ]
0 commit comments