From 891a06a72b190d758b24c6a1fa2ab7aa9295d16e Mon Sep 17 00:00:00 2001 From: redstonekasi Date: Wed, 22 Feb 2023 01:25:14 +0100 Subject: [PATCH] [TS] Add find and findAll types --- src/def.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/def.d.ts b/src/def.d.ts index b7e2094..6013689 100644 --- a/src/def.d.ts +++ b/src/def.d.ts @@ -277,6 +277,8 @@ interface VendettaObject { instead: typeof _spitroast.instead; }; metro: { + find: (filter: (m: any) => boolean) => any; + findAll: (filter: (m: any) => boolean) => any[]; findByProps: PropsFinder; findByPropsAll: PropsFinderAll; findByDisplayName: (name: string, defaultExp?: boolean) => any;