We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Given:
enum Things { "foo", "bar" };
Enum values current result in,
[ { "type": "ws", "value": "\n " }, "foo", { "type": "," }, { "type": "ws", "value": "\n " }, "bar", { "type": "ws", "value": "\n " } ]
This switching of types makes things really inconsistent. Would have expected an Object like:
{ "type": "enum-value", "value": "foo", }
And maybe, for compat:
{ "type": "enum-value", "value": "foo", toString(){ return this.value; } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Given:
Enum values current result in,
This switching of types makes things really inconsistent. Would have expected an Object like:
And maybe, for compat:
The text was updated successfully, but these errors were encountered: