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.

typing_status: Mark recipient array as read-only for Flow.

Greg Price9a15301f4a0d
diff --git a/static/shared/js/typing_status.js.flow b/static/shared/js/typing_status.js.flow
index 1bd54be473c..05838a72f9a 100644
--- a/static/shared/js/typing_status.js.flow
+++ b/static/shared/js/typing_status.js.flow
@@ -4,7 +4,7 @@
"use strict";
-type RecipientUserIds = number[];
+type RecipientUserIds = $ReadOnlyArray<number>;
type Worker = {|
get_current_time: () => number, // as ms since epoch