Skip to content

Commit e3e8ef6

Browse files
committed
xo: Fix @typescript-eslint/consistent-generic-constructors.
Signed-off-by: Anders Kaseorg <[email protected]>
1 parent 6808b19 commit e3e8ef6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/renderer/js/pages/preference/general-section.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ export function initGeneralSection({$root}: GeneralSectionProps): void {
616616
const availableLanguages = session.fromPartition(
617617
"persist:webviewsession",
618618
).availableSpellCheckerLanguages;
619-
let languagePairs: Map<string, string> = new Map();
619+
let languagePairs = new Map<string, string>();
620620
for (const l of availableLanguages) {
621621
if (ISO6391.validate(l)) {
622622
languagePairs.set(ISO6391.getName(l), l);

0 commit comments

Comments
 (0)