Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 588 Bytes

LayoutPropertyArrayValues.md

File metadata and controls

17 lines (13 loc) · 588 Bytes

LayoutPropertyArrayValues<Keys>

type LayoutPropertyArrayValues<Keys> = {
  [K in keyof Keys]: Keys[K] extends LayoutProperty
    ? LayoutPropertyValues[Keys[K]]
    : unknown;
};

Helper type to convert an array of layout property keys to an array of their value types.

Type Parameters

Type Parameter
Keys extends LayoutProperty[]