aboutsummaryrefslogtreecommitdiff
path: root/src/webpack
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2022-11-25 15:59:47 +0100
committerVendicated <vendicated@riseup.net>2022-11-25 15:59:47 +0100
commitc5b5b754e242cb5db0ae25c46826dccdd51ef6da (patch)
tree5ee6181f8e37722ec8c91bfdd50a59d2d53ce03b /src/webpack
parent0f644dff731ee4d57c89994582e0f64fa0420ef2 (diff)
downloadVencord-c5b5b754e242cb5db0ae25c46826dccdd51ef6da.tar.gz
Vencord-c5b5b754e242cb5db0ae25c46826dccdd51ef6da.tar.bz2
Vencord-c5b5b754e242cb5db0ae25c46826dccdd51ef6da.zip
CallTimer
Diffstat (limited to 'src/webpack')
-rw-r--r--src/webpack/common.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/webpack/common.tsx b/src/webpack/common.tsx
index fa6bb0e..6ebad16 100644
--- a/src/webpack/common.tsx
+++ b/src/webpack/common.tsx
@@ -32,6 +32,8 @@ export const Flux = lazyWebpack(filters.byProps("connectStores"));
export let React: typeof import("react");
export const ReactDOM: typeof import("react-dom") = lazyWebpack(filters.byProps("createPortal", "render"));
+export const moment: typeof import("moment") = lazyWebpack(filters.byProps("parseTwoDigitYear"));
+
export const MessageStore = lazyWebpack(filters.byProps("getRawMessages")) as Omit<Stores.MessageStore, "getMessages"> & { getMessages(chanId: string): any; };
export const PermissionStore = lazyWebpack(filters.byProps("can", "getGuildPermissions"));
export const PrivateChannelsStore = lazyWebpack(filters.byProps("openPrivateChannel"));