Open web-padawan opened 4 years ago
This might not be a bug, but rather unexpected behavior. So, I have this property:
get items(): Array<VaadinAccordionPanel> { return super.items as Array<VaadinAccordionPanel>; }
Which produces the following JSON:
{ "name": "items", "type": "VaadinAccordionPanel[]" },
IMO the expected behavior here would be to preserve Array<Type> notation. Currently I have to add a following JSDoc in order to enforce this notation:
Array<Type>
/** * @type {Array<VaadinAccordionPanel>} */
This might not be a bug, but rather unexpected behavior. So, I have this property:
Which produces the following JSON:
IMO the expected behavior here would be to preserve
Array<Type>
notation. Currently I have to add a following JSDoc in order to enforce this notation: