Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: useIntl.getCanonicalLocales check locale#450

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

btea
Copy link
Collaborator

@bteabtea commentedFeb 21, 2024
edited
Loading

When users configure LANG related information by themselves, irregular spelling or capitalization problems may occur. However, I am not sure whether to throw an error directly to terminate the process at this time or just output the error message and continue to perform the following steps. (The current action I take is to print the error message and continue.)

Related commitbb11f04

Copy link
Member

@haoqunjianghaoqunjiang left a comment

Choose a reason for hiding this comment

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

Thanks!

Note to myself: the@ts-ignore comment can be removed after upgrading to TypeScript 5.4

microsoft/TypeScript#56079

@haoqunjianghaoqunjiang merged commit2195946 intovuejs:mainFeb 29, 2024
@bteabtea deleted the feat/use-Intl.getCanonicalLocales branchFebruary 29, 2024 12:26
@bmulholland
Copy link

In future, ts-expect-error is a good alternative to ts-ignore; it'll raise an error when it's no longer needed, so you don't have to remember :)

haoqunjiang reacted with thumbs up emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@haoqunjianghaoqunjianghaoqunjiang approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@btea@bmulholland@haoqunjiang

[8]ページ先頭

©2009-2025 Movatter.jp