[TS] Add find and findAll types
This commit is contained in:
parent
d6a8dd6710
commit
891a06a72b
1 changed files with 2 additions and 0 deletions
2
src/def.d.ts
vendored
2
src/def.d.ts
vendored
|
@ -277,6 +277,8 @@ interface VendettaObject {
|
||||||
instead: typeof _spitroast.instead;
|
instead: typeof _spitroast.instead;
|
||||||
};
|
};
|
||||||
metro: {
|
metro: {
|
||||||
|
find: (filter: (m: any) => boolean) => any;
|
||||||
|
findAll: (filter: (m: any) => boolean) => any[];
|
||||||
findByProps: PropsFinder;
|
findByProps: PropsFinder;
|
||||||
findByPropsAll: PropsFinderAll;
|
findByPropsAll: PropsFinderAll;
|
||||||
findByDisplayName: (name: string, defaultExp?: boolean) => any;
|
findByDisplayName: (name: string, defaultExp?: boolean) => any;
|
||||||
|
|
Loading…
Reference in a new issue