Function: toArray()
toArray<
T
>(annotations
?,setup
?):Annotation
[]
Converts the object containing component property metadata into an array. Internal use only.
Type Parameters
• T extends object
= any
Parameters
• annotations?: Annotations
<T
>
the object containing component property metadata.
• setup?: Partial
<Partial
<Omit
<Annotation
, "key"
>> & Pick
<Annotation
, "editor"
> & BuilderOptions
> = {}
the custom options for the component's property metadata builder.
Returns
the metadata array of the component properties.