Function: someOf()
someOf<
U
>(...values
):SomeOfBuilder
<U
>
The annotation builder for a component property with type 'enum', the property value can contain multiple enum values.
Type Parameters
• U extends string
| number
Parameters
• ...values: U
[]
the possible values for the property.
Returns
the instance of the metadata property builder.