-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
4.19.0
-
None
-
None
-
1
-
False
-
N/A
-
Release Note Not Required
There is a TODO in frontend/@types/console/index.d.ts:
// TODO: Remove when upgrading to TypeScript 4.1.2+, which has a type for ListFormat and RelativeTimeFormat.
declare namespace Intl {
type ListFormatOptions = {
localeMatcher: string;
type: string;
style: string;
{color:#b5b3aa}};
class ListFormat {
constructor(locales?: Locale | string | undefined, options?: Partial<ListFormatOptions>);
public format(list?: Iterable<string>): string;
{color:#b5b3aa}}
class RelativeTimeFormat {
constructor(locale: string);
format(n: number, unit: string);
{color:#b5b3aa}}
}
We actually need TypeScript 4.7+ to receive this patch: https://github.com/microsoft/TypeScript/issues/50381
- is incorporated by
-
CONSOLE-4400 Update to TypeScript 5
- Closed