aboutsummaryrefslogtreecommitdiff
path: root/src/webpack/common/utils.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/webpack/common/utils.ts')
-rw-r--r--src/webpack/common/utils.ts1
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");