PlaceholderOf
Home > @gooddata/sdk-ui > PlaceholderOf
PlaceholderOf type
Wrap each member of the union type in AnyPlaceholder.
Signature:
export type PlaceholderOf<T> = T extends any ? AnyPlaceholder<T> : never;
References: AnyPlaceholder
Example
IAttribute | IMeasure is resolved as AnyPlaceholder\<IAttribute\> | AnyPlaceholder\<IMeasure\>