Project: /docs/reference/js/_project.yaml
Book: /docs/reference/_book.yaml
page_type: reference
{% comment %}
DO NOT EDIT THIS FILE!
This is generated by the JS SDK team, and any local changes will be
overwritten. Changes should be made in the source code at
https://github.com/firebase/firebase-js-sdk
{% endcomment %}
# AliasedWindowFunction class
> This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
>
A [WindowFunction](./firestore_lite_pipelines.windowfunction.md#windowfunction_class) with an alias.
Window Functions SDK features are in preview until the backend feature launches. Look for launch announcement at: https://docs.cloud.google.com/firestore/docs/release-notes
Signature:
```typescript
export declare class AliasedWindowFunction
```
## Constructors
| Constructor | Modifiers | Description |
| --- | --- | --- |
| [(constructor)(windowFunction, alias, \_methodName)](./firestore_pipelines.aliasedwindowfunction.md#aliasedwindowfunctionconstructor) | | (Public Preview) Constructs a new instance of the AliasedWindowFunction class |
## Properties
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [alias](./firestore_pipelines.aliasedwindowfunction.md#aliasedwindowfunctionalias) | | string | (Public Preview) |
| [windowFunction](./firestore_pipelines.aliasedwindowfunction.md#aliasedwindowfunctionwindowfunction) | | [WindowFunction](./firestore_pipelines.windowfunction.md#windowfunction_class) | (Public Preview) |
## AliasedWindowFunction.(constructor)
> This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
>
Constructs a new instance of the `AliasedWindowFunction` class
Signature:
```typescript
constructor(
windowFunction: WindowFunction,
alias: string,
_methodName: string | undefined
);
```
#### Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| windowFunction | [WindowFunction](./firestore_pipelines.windowfunction.md#windowfunction_class) | |
| alias | string | |
| \_methodName | string \| undefined | |
## AliasedWindowFunction.alias
> This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
>
Signature:
```typescript
readonly alias: string;
```
## AliasedWindowFunction.windowFunction
> This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
>
Signature:
```typescript
readonly windowFunction: WindowFunction;
```