MCPcopy
hub / github.com/webpack/tapable / HookInterceptor

Interface HookInterceptor

tapable.d.ts:45–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43};
44
45interface HookInterceptor<T, R, AdditionalOptions = UnsetAdditionalOptions> {
46 name?: string;
47 tap?: (tap: FullTap & IfSet<AdditionalOptions>) => void;
48 call?: (...args: any[]) => void;
49 loop?: (...args: any[]) => void;
50 error?: (err: Error) => void;
51 result?: (result: R) => void;
52 done?: () => void;
53 register?: (
54 tap: FullTap & IfSet<AdditionalOptions>
55 ) => FullTap & IfSet<AdditionalOptions>;
56}
57
58type ArgumentNames<T extends any[]> = FixedSizeArray<T["length"], string>;
59

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…