AggregateSpecData
A type whose keys are taken from an AggregateSpec
, and whose values are the
result of the aggregation performed by the corresponding AggregateField
from the input AggregateSpec
.
type AggregateSpecData<T extends AggregateSpec> = [P in keyof T]: T[P] extends AggregateField<infer U> ? U : never;
§Type Parameters
§
T extends AggregateSpec
[src]§Type
§
[P in keyof T]: T[P] extends AggregateField<infer U> ? U : never
[src]