eslint: Fix @typescript-eslint/prefer-return-this-type.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2023-04-19 15:38:35 -07:00 committed by Tim Abbott
parent 079b74e67e
commit 5ac9b644eb
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}