From 88ad4f1b0597a06695aae4166fb8ac1024f31c4c Mon Sep 17 00:00:00 2001 From: V Date: Sat, 15 Apr 2023 04:42:18 +0200 Subject: SendTimestamps (#891) Co-authored-by: Tyler Flowers --- src/webpack/common/utils.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'src/webpack') 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"); -- cgit