StylePropertyArrayValues<Keys>
type StylePropertyArrayValues<Keys> = { [K in keyof Keys]: Keys[K] extends StyleProperty ? StylePropertyValues[Keys[K]] : unknown; };
Helper type to convert an array of property keys to an array of their value types.
Unlike TupleToStyleValues, this returns an array type instead of a tuple.
Type Parameters
| Type Parameter |
|---|
Keys extends StyleProperty[] |