xo: Fix @typescript-eslint/consistent-generic-constructors.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2023-01-03 14:34:44 -08:00
parent 6808b1971a
commit e3e8ef6e3e

View File

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