mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
Merge pull request #30111 from MrFranke/patch-1
Enzyme. Add argument to .exists method
This commit is contained in:
Vendored
+1
-1
@@ -101,7 +101,7 @@ export interface CommonWrapper<P = {}, S = {}, C = Component<P, S>> {
|
||||
/**
|
||||
* 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.
|
||||
|
||||
Reference in New Issue
Block a user