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