diff --git a/src/def.d.ts b/src/def.d.ts index 0c36cd6..ce63dd2 100644 --- a/src/def.d.ts +++ b/src/def.d.ts @@ -311,7 +311,7 @@ interface VendettaObject { }; utils: { copyText: (content: string) => void; - findInReactTree: (tree: { [key: string]: any }, filter: SearchFilter) => void; + findInReactTree: (tree: { [key: string]: any }, filter: SearchFilter) => any; findInTree: (tree: { [key: string]: any }, filter: SearchFilter, options: FindInTreeOptions) => any; safeFetch: (input: RequestInfo, options: RequestInit) => Promise; unfreeze: (obj: object) => object;