Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/languageFacts/entry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,7 @@ function getEntryMarkdownDescription(entry: IEntry2, settings?: HoverSettings):
return result;
}

// TODO: Remove "as any" when tsconfig supports es2021+
const missingBaselineBrowserFormatter = new (Intl as any).ListFormat("en", {
const missingBaselineBrowserFormatter = new Intl.ListFormat("en", {
style: "long",
type: "disjunction",
});
Expand Down
2 changes: 1 addition & 1 deletion src/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"stripInternal": true,
"outDir": "../lib/umd",
"lib": [
"es2020"
"ES2024"
]
}
}