console icon indicating copy to clipboard operation
console copied to clipboard

CONSOLE-4286: Remove unnecessary Intl type def

Open logonoff opened this issue 4 months ago • 6 comments

CONSOLE Features and Fixes:

https://issues.redhat.com/browse/CONSOLE-4286

Solution description

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 {
	// omitted
}

We are currently using typescript 4.5.5 which is is newer than typescript 4.1.2, so this code is safe to remove

Reviewers and assignees:

n/a

Additional info:

n/a

Screen shots / gifs / design review:

n/a

logonoff avatar Oct 03 '24 16:10 logonoff