From 3288a62620129467a012d4757d73a1df09b19f61 Mon Sep 17 00:00:00 2001 From: Cheng Liu Date: Fri, 10 Sep 2021 10:58:09 +0800 Subject: [PATCH] add taps type to hook class --- tapable.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/tapable.d.ts b/tapable.d.ts index c2897a5..0201c9a 100644 --- a/tapable.d.ts +++ b/tapable.d.ts @@ -58,6 +58,7 @@ type ArgumentNames = FixedSizeArray; declare class Hook { constructor(args?: ArgumentNames>, name?: string); name: string | undefined; + taps: FullTap[]; intercept(interceptor: HookInterceptor): void; isUsed(): boolean; callAsync(...args: Append, Callback>): void;