diff --git a/types/enzyme/index.d.ts b/types/enzyme/index.d.ts index 60262e3d04..0818b4e5ce 100644 --- a/types/enzyme/index.d.ts +++ b/types/enzyme/index.d.ts @@ -101,7 +101,7 @@ export interface CommonWrapper
> { /** * Returns whether or not the current node exists. */ - exists(): boolean; + exists(selector?: EnzymeSelector): boolean; /** * Returns a new wrapper with only the nodes of the current wrapper that don't match the provided selector.