mirror of https://github.com/zulip/zulip.git
eslint: Fix @typescript-eslint/prefer-return-this-type.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
079b74e67e
commit
5ac9b644eb
|
@ -29,7 +29,7 @@ export class FoldDict<V> {
|
|||
return mapping.v;
|
||||
}
|
||||
|
||||
set(key: string, value: V): FoldDict<V> {
|
||||
set(key: string, value: V): this {
|
||||
this._items.set(this._munge(key), {k: key, v: value});
|
||||
return this;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue