# AggregationResultOf

# Type Alias: AggregationResultOf\<TDefinition\>

```ts
type AggregationResultOf<TDefinition> = TDefinition extends AggregationFnDef<any, any, any, infer TResult> ? TResult : unknown;
```

Defined in: [features/row-aggregation/rowAggregationFeature.types.ts:160](https://github.com/TanStack/table/blob/main/packages/table-core/src/features/row-aggregation/rowAggregationFeature.types.ts#L160)

Extracts the result type produced by an aggregation definition.

## Type Parameters

### TDefinition

`TDefinition`
