mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-11-03 13:33:18 +00:00
xo: Fix @typescript-eslint/consistent-generic-constructors.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
@@ -616,7 +616,7 @@ export function initGeneralSection({$root}: GeneralSectionProps): void {
|
||||
const availableLanguages = session.fromPartition(
|
||||
"persist:webviewsession",
|
||||
).availableSpellCheckerLanguages;
|
||||
let languagePairs: Map<string, string> = new Map();
|
||||
let languagePairs = new Map<string, string>();
|
||||
for (const l of availableLanguages) {
|
||||
if (ISO6391.validate(l)) {
|
||||
languagePairs.set(ISO6391.getName(l), l);
|
||||
|
||||
Reference in New Issue
Block a user