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
It would be nice if we could get the default values and keywords of exported aliases
/** * CSS class for the component * @type {'main' | 'sidebar'} * */ let klass = "main"; export {klass as class}
Current output:
{ "visibility": "public", "description": "CSS class for the component", "keywords": [], ... "type": { "kind": "union", "text": "'main' | 'sidebar'", "type": [ { ... }, { ... } ] }, "localName": "klass" }
Preferred output:
{ "keywords": [ { "name": "type", "description": "{'main' | 'sidebar'}" } ], "visibility": "public", "description": "CSS class for the component", ... "type": { "kind": "union", "text": "'main' | 'sidebar'", "type": [...] //same as above }, "localName": "klass", "defaultValue": "main" }
The text was updated successfully, but these errors were encountered:
Hi, you are completelly right!
Sorry, something went wrong.
Merge pull request #84 from ekhaled/alias-default-value
8afe9e7
fix #83: Merge keywords and default values for aliases
Successfully merging a pull request may close this issue.
It would be nice if we could get the default values and keywords of exported aliases
Current output:
Preferred output:
The text was updated successfully, but these errors were encountered: