An AggregateFunction with alias.

**Signature:**

    export declare class AliasedAggregate 

## Constructors

| Constructor | Modifiers | Description |
|---|---|---|
| [(constructor)(aggregate, alias, _methodName)](https://firebase.google.com/docs/reference/js/firestore_lite_pipelines.aliasedaggregate#aliasedaggregateconstructor) |   | Constructs a new instance of the `AliasedAggregate` class |

## Properties

| Property | Modifiers | Type | Description |
|---|---|---|---|
| [aggregate](https://firebase.google.com/docs/reference/js/firestore_lite_pipelines.aliasedaggregate#aliasedaggregateaggregate) |   | [AggregateFunction](https://firebase.google.com/docs/reference/js/firestore_lite_pipelines.aggregatefunction#aggregatefunction_class) |   |
| [alias](https://firebase.google.com/docs/reference/js/firestore_lite_pipelines.aliasedaggregate#aliasedaggregatealias) |   | string |   |

## AliasedAggregate.(constructor)

Constructs a new instance of the `AliasedAggregate` class

**Signature:**

    constructor(
        aggregate: AggregateFunction,
        alias: string,
        _methodName: string | undefined
      );

#### Parameters

| Parameter | Type | Description |
|---|---|---|
| aggregate | [AggregateFunction](https://firebase.google.com/docs/reference/js/firestore_lite_pipelines.aggregatefunction#aggregatefunction_class) |   |
| alias | string |   |
| _methodName | string \| undefined |   |

## AliasedAggregate.aggregate

**Signature:**

    readonly aggregate: AggregateFunction;

## AliasedAggregate.alias

**Signature:**

    readonly alias: string;