diff options
Diffstat (limited to 'src/webpack')
-rw-r--r-- | src/webpack/common.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webpack/common.tsx b/src/webpack/common.tsx index b5c2c2f..8c77506 100644 --- a/src/webpack/common.tsx +++ b/src/webpack/common.tsx @@ -32,7 +32,7 @@ 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 MessageStore = lazyWebpack(filters.byProps("getRawMessages")) as Stores.MessageStore; +export const MessageStore = lazyWebpack(filters.byProps("getRawMessages")) as Omit<Stores.MessageStore, "getMessages"> & { getMessages(chanId: string): any; }; export let GuildStore: Stores.GuildStore; export let UserStore: Stores.UserStore; export let SelectedChannelStore: Stores.SelectedChannelStore; |