Skip to content
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

Object keys need to deal with hyphens and other bad things #157

Closed
tamj0rd2 opened this issue Apr 15, 2021 · 1 comment
Closed

Object keys need to deal with hyphens and other bad things #157

tamj0rd2 opened this issue Apr 15, 2021 · 1 comment
Labels
bug Something isn't working released

Comments

@tamj0rd2
Copy link
Owner

tamj0rd2 commented Apr 15, 2021

const stuff: Record<'hello-world', string> = {}
When this is filled in you get something like { hello-world: 'todo' } which is invalid js. Escaped name hopefully exists for symsbols

@tamj0rd2 tamj0rd2 added the bug Something isn't working label Apr 15, 2021
@tamj0rd2 tamj0rd2 changed the title Object keys need to deal with hyphens Object keys need to deal with hyphens and other bad things Apr 15, 2021
github-actions bot pushed a commit that referenced this issue Apr 15, 2021
# [ts-quickfixes-plugin-v1.8.1](ts-quickfixes-plugin-v1.8.0...ts-quickfixes-plugin-v1.8.1) (2021-04-15)

### Bug Fixes

* **plugin:** wrap invalid object keys with quotes ([c5b8b97](c5b8b97)), closes [#157](#157)
@tamj0rd2
Copy link
Owner Author

🎉 This issue has been resolved in version ts-quickfixes-plugin-v1.8.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released
Projects
None yet
Development

No branches or pull requests

1 participant