mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-11-15 19:31:39 +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(
|
const availableLanguages = session.fromPartition(
|
||||||
"persist:webviewsession",
|
"persist:webviewsession",
|
||||||
).availableSpellCheckerLanguages;
|
).availableSpellCheckerLanguages;
|
||||||
let languagePairs: Map<string, string> = new Map();
|
let languagePairs = new Map<string, string>();
|
||||||
for (const l of availableLanguages) {
|
for (const l of availableLanguages) {
|
||||||
if (ISO6391.validate(l)) {
|
if (ISO6391.validate(l)) {
|
||||||
languagePairs.set(ISO6391.getName(l), l);
|
languagePairs.set(ISO6391.getName(l), l);
|
||||||
|
|||||||
Reference in New Issue
Block a user