-
Notifications
You must be signed in to change notification settings - Fork 12.8k
String negative number as index produces wrong declaration #38133
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
Comments
Works in nightly: Playground Link The issue template does ask you to try in nightly before reporting a bug 😃 |
Great to hear it is fixed! 😄 Sorry, but I did not understand that this playground was different than the one on Typescript website? Cause that one only shows the JS output. I see this other Playground shows everything, is this some special playground? |
Ahh yes, that's the beta version of the next playground. Eventually we all will have the power! |
This issue has been marked as a 'Duplicate' and has seen no recent activity. It has been automatically closed for house-keeping purposes. |
TypeScript Version: 3.8.3
Search Terms: decleration, object, index, negative number
Code
Expected behavior:
Should produce the following decleration:
Actual behavior:
Missing quotes, causing errors in the declaration
The text was updated successfully, but these errors were encountered: