From 8d96bcd14c5105eb197340ae6cf1b0d3c2151e16 Mon Sep 17 00:00:00 2001 From: Awesome Stickz Date: Sat, 2 Nov 2024 10:28:21 +0530 Subject: [PATCH] feat: expose types of cached objects in bot.cache.$inferredTypes --- index.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/index.ts b/index.ts index 877d7dc..f9f6709 100644 --- a/index.ts +++ b/index.ts @@ -51,6 +51,13 @@ export interface ProxyCacheProps['user']) => Promise; delete: (id: bigint) => Promise; }; + $inferredTypes: { + channel: FilteredProxyCacheTypes['channel']; + guild: FilteredProxyCacheTypes['guild']; + member: FilteredProxyCacheTypes['member']; + role: FilteredProxyCacheTypes['role']; + user: FilteredProxyCacheTypes['user']; + }; }; }