Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
fold_dict: Use `IterableIterator` instead of `Iterator`.
Lalit Kumar Singhdc142ab1d13e
diff --git a/web/src/fold_dict.ts b/web/src/fold_dict.tsindex 40f9647f79d..036f4ca3204 100644--- a/web/src/fold_dict.ts+++ b/web/src/fold_dict.ts@@ -42,7 +42,7 @@ export class FoldDict<V> {return this._items.delete(this._munge(key));}- *keys(): Iterator<string> {+ *keys(): IterableIterator<string> {for (const {k} of this._items.values()) {yield k;}