-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Readonly<T> miss all internal symbol keys #37182
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
Labels
Experimentation Needed
Someone needs to try this out to see what happens
Milestone
Comments
@ahejlsberg wasn't this scenario the use case for #23592 ? |
Yes, except we have always excluded "well known symbols" from |
See #24738. |
This blocks converting Readonly Sets to Arrays
|
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
TypeScript Version: 3.8.3
Search Terms: readonly internal symbol
Code
Expected behavior:
no error
Actual behavior:
TS2739
(missing propertiesSymbol.iterator
andSymbol.toStringTag
)Playground Link:
Related Issues:
The text was updated successfully, but these errors were encountered: