type AggregationResult<TOption, TFeatures> = TOption extends ReadonlyArray<infer TEntry> ? { [TKey in AggregationEntryId<TEntry>]: AggregationResultOfRef<AggregationEntryDefinition<Extract<TEntry, TKey | { id: TKey }>>, TFeatures> } : AggregationResultOfRef<TOption, TFeatures>;Defined in: features/aggregation/aggregationFeature.types.ts:190
Infers the scalar or keyed result produced by an aggregation option.
TOption
TFeatures extends TableFeatures = any