-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Add .raw
or .extra.raw
to Identifier
#15117
Comments
Hey @fisker! We really appreciate you taking the time to report an issue. The collaborators on this project attempt to help as many people as possible, but we're a limited number of volunteers, so it's possible this won't be addressed swiftly. If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack community that typically always has someone willing to help. You can sign-up here for an invite. |
Can prettier not support this? I really can't imagine anyone doing this in real code. 😂 I personally have no problem with adopting the option to enable appending By the way, prettier/prettier#8917 Although it was reopened, it was not unlocked. |
💻
What problem are you trying to solve?
I'm adding support for "Explicit Resource Management" in Prettier.
There is a test added in #14968
Since
is invalid, so we can't print
o\u006
asof
, and there seems no easy way to fix this.I've try to convince ESTree to add
.raw
, but most likely that's not going to happen. linkI'm not sure what's the best to do. Let me know what you think.
Describe the solution you'd like
Change
Identifer
toDescribe alternatives you've considered
We can slice from the original input, but it's difficult because of
.typeAnnotation
exists.Documentation, Adoption, Migration Strategy
No response
The text was updated successfully, but these errors were encountered: