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.

poll_data: Fix implicit use of any.

Anders Kaseorg3c2fae117107
diff --git a/web/shared/src/poll_data.ts b/web/shared/src/poll_data.ts
index 133231454cd..6133bce215c 100644
--- a/web/shared/src/poll_data.ts
+++ b/web/shared/src/poll_data.ts
@@ -148,7 +148,7 @@ export class PollData {
}
const key = `${sender_id},${idx}`;
- const votes = new Map();
+ const votes = new Map<number, number>();
this.key_to_option.set(key, {
option,