-
Notifications
You must be signed in to change notification settings - Fork 8
Closed
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
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"
}
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request