DataProptype
{
readonly [K in DataKey<T>]: readonly [K, T[K]];
}[DataKey<T>]| Type | |
|---|---|
DataKey | Helper type to get the key for a data object prop. |
K |
Helper type to get a prop for a data object.
i.e. DataProp<{ a: number }> produces readonly ["a", number"]