[TS] Some cleanup

This commit is contained in:
Beef 2023-02-14 18:51:45 +00:00
parent 1ede4e088e
commit 307cf453f5

2
src/def.d.ts vendored
View file

@ -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<Response>;
unfreeze: (obj: object) => object;