ArrayOf
Home > @gooddata/sdk-ui > ArrayOf
ArrayOf type
Wrap each member of union type in the array.
Signature:
export type ArrayOf<T> = T extends any ? T[] : never;
Example
IAttribute | IMeasure | IFilter is resolved as IAttribute[] | IMeasure[] | IFilter[]