diff options
author | V <vendicated@riseup.net> | 2023-04-15 04:42:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-15 04:42:18 +0200 |
commit | 88ad4f1b0597a06695aae4166fb8ac1024f31c4c (patch) | |
tree | 7b77998146f62bc87e70b59d3a8a4309b12d1f7d /src/webpack/common/utils.ts | |
parent | f75f88786118640dd72b40adf587a725493aa8a0 (diff) | |
download | Vencord-88ad4f1b0597a06695aae4166fb8ac1024f31c4c.tar.gz Vencord-88ad4f1b0597a06695aae4166fb8ac1024f31c4c.tar.bz2 Vencord-88ad4f1b0597a06695aae4166fb8ac1024f31c4c.zip |
SendTimestamps (#891)
Co-authored-by: Tyler Flowers <contact@ggtylerr.dev>
Diffstat (limited to 'src/webpack/common/utils.ts')
-rw-r--r-- | src/webpack/common/utils.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/webpack/common/utils.ts b/src/webpack/common/utils.ts index 2c2af54..3893a3a 100644 --- a/src/webpack/common/utils.ts +++ b/src/webpack/common/utils.ts @@ -23,6 +23,7 @@ import { _resolveReady, filters, findByCodeLazy, findByPropsLazy, findLazy, mapM import type * as t from "./types/utils"; export let FluxDispatcher: t.FluxDispatcher; +export const ComponentDispatch = findLazy(m => m.emitter?._events?.INSERT_TEXT); export const RestAPI: t.RestAPI = findByPropsLazy("getAPIBaseURL", "get"); export const moment: typeof import("moment") = findByPropsLazy("parseTwoDigitYear"); |