From ac129e9f5fa29f8e29435631cde6f0a05c958754 Mon Sep 17 00:00:00 2001 From: metaJS Date: Tue, 30 Nov 2021 10:29:04 +0800 Subject: [PATCH] update: make AsyncSeriesWaterfallHook support pass return type --- tapable.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tapable.d.ts b/tapable.d.ts index 0201c9a..df0e29d 100644 --- a/tapable.d.ts +++ b/tapable.d.ts @@ -91,7 +91,7 @@ export class AsyncParallelBailHook extends AsyncHook {} export class AsyncSeriesBailHook extends AsyncHook {} export class AsyncSeriesLoopHook extends AsyncHook {} -export class AsyncSeriesWaterfallHook extends AsyncHook[0], AdditionalOptions> {} +export class AsyncSeriesWaterfallHook extends AsyncHook {} type HookFactory = (key: any, hook?: H) => H;