From 9e34b8c1f3ca999074188c2cdbaca3671bee2d42 Mon Sep 17 00:00:00 2001 From: redstonekasi Date: Mon, 30 Jan 2023 22:03:16 +0100 Subject: [PATCH] [TS] findByDisplayName default export is optional --- src/def.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/def.d.ts b/src/def.d.ts index a0a65e2..4be0889 100644 --- a/src/def.d.ts +++ b/src/def.d.ts @@ -209,8 +209,8 @@ interface VendettaObject { metro: { findByProps: PropsFinder; findByPropsAll: PropsFinderAll; - findByDisplayName: (name: string, defaultExp: boolean) => any; - findByDisplayNameAll: (name: string, defaultExp: boolean) => any[]; + findByDisplayName: (name: string, defaultExp?: boolean) => any; + findByDisplayNameAll: (name: string, defaultExp?: boolean) => any[]; common: { constants: PropIntellisense<"API_HOST">; channels: PropIntellisense<"getVoiceChannelId">;