Skip to content

Conversation

kazupon
Copy link
Member

@kazupon kazupon commented Oct 12, 2023

Description

Linked Issues

Additional context

@kazupon kazupon added the improvement Includes backwards-compatible fixes label Oct 12, 2023
@@ -0,0 +1,3 @@
declare namespace Intl {
function getCanonicalLocales(locales: string | string[]): string[]
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Curretnly, Intl.getCanonicalLocales is type ineffective in typescript
So, I used shim to work around it. Maybe send a PR to TypeScript.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kazupon kazupon merged commit e72cc8b into main Oct 12, 2023
@kazupon kazupon deleted the fix/refactor-locale-validation branch October 12, 2023 05:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Includes backwards-compatible fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant