diff --git a/tapable.d.ts b/tapable.d.ts index d77f31b..c2897a5 100644 --- a/tapable.d.ts +++ b/tapable.d.ts @@ -63,7 +63,7 @@ declare class Hook { callAsync(...args: Append, Callback>): void; promise(...args: AsArray): Promise; tap(options: string | Tap & IfSet, fn: (...args: AsArray) => R): void; - withOptions(options: TapOptions & IfSet): Hook; + withOptions(options: TapOptions & IfSet): Omit; } export class SyncHook extends Hook {