Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

shared: Fix typeahead.js.flow to add Emoji['reaction_type'].

Chris Bobbe167b891d4e61
diff --git a/static/shared/js/typeahead.js.flow b/static/shared/js/typeahead.js.flow
index cb5f5412e4f..c83a57902d7 100644
--- a/static/shared/js/typeahead.js.flow
+++ b/static/shared/js/typeahead.js.flow
@@ -1,6 +1,11 @@
// @flow strict
-export type Emoji = {emoji_name: string, emoji_code: string, ...};
+export type Emoji = {
+ emoji_name: string,
+ emoji_code: string,
+ reaction_type: "unicode_emoji" | "realm_emoji" | "zulip_extra_emoji",
+ ...
+};
// declare export var popular_emojis