mark Intl.LocalesArgument as readonly - #50135
Conversation
|
This PR doesn't have any linked issues. Please open an issue that references this PR. From there we can discuss and prioritise. |
|
TypeScript Bot (@typescript-bot) run dt |
|
Heya Nathan Shively-Sanders (@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! |
|
Heya Nathan Shively-Sanders (@sandersn), I've started to run the parallelized Definitely Typed test suite on this PR at f207e30. You can monitor the build here. |
Nathan Shively-Sanders (sandersn)
left a comment
There was a problem hiding this comment.
This sounds like a good idea, but let's make sure that it doesn't break any user code that we know about.
|
Nathan Shively-Sanders (@sandersn) Here are the results of running the user test suite comparing Everything looks good! |
This PR changes
Intl.LocalesArgumentto accept a readonly array, since typescript currently considers this to be unacceptable code:(playground link)