[TS] findByDisplayName default export is optional

This commit is contained in:
redstonekasi 2023-01-30 22:03:16 +01:00 committed by Beef
parent 09f4c37e94
commit 9e34b8c1f3

4
src/def.d.ts vendored
View file

@ -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">;