PlaceholdersResolvedValues
Home > @gooddata/sdk-ui > PlaceholdersResolvedValues
PlaceholdersResolvedValues type
Convert tuple of values that may contain placeholders to tuple of their respective resolved value types.
Signature:
export declare type PlaceholdersResolvedValues<Tuple extends any[]> = {
[Index in keyof Tuple]: PlaceholderResolvedValue<Tuple[Index]>;
};
References: PlaceholderResolvedValue
Remarks
Check mapped tuple types for more details: https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-1.html#mapped-types-on-tuples-and-arrays
Example
[IPlaceholder\<IAttribute\>, IPlaceholder\<IAttribute[]\>] is resolved as [IAttribute, IAttribute[]]
[IPlaceholder\<IMeasure\>, IMeasure] is resolved as [IMeasure, IMeasure]