-
Notifications
You must be signed in to change notification settings - Fork 12.8k
mark Intl.LocalesArgument as readonly #50135
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This PR doesn't have any linked issues. Please open an issue that references this PR. From there we can discuss and prioritise. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@typescript-bot run dt |
Heya @sandersn, I've started to run the diff-based user code test suite on this PR at f207e30. You can monitor the build here. Update: The results are in! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This sounds like a good idea, but let's make sure that it doesn't break any user code that we know about.
@sandersn Here are the results of running the user test suite comparing Everything looks good! |
This PR changes
Intl.LocalesArgument
to accept a readonly array, since typescript currently considers this to be unacceptable code:(playground link)