Skip to content

Commit 8d5257f

Browse files
committed
cleanup:
1 parent 456d3e6 commit 8d5257f

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

packages/firestore/src/lite-api/aggregate.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,9 +208,11 @@ export function aggregateFieldEqual(
208208
* @returns `true` if the objects are "equal", as defined above, or `false`
209209
* otherwise.
210210
*/
211-
export function aggregateQuerySnapshotEqual<T extends AggregateSpec>(
212-
left: AggregateQuerySnapshot<T>,
213-
right: AggregateQuerySnapshot<T>
211+
export function aggregateQuerySnapshotEqual<
212+
AggregateSpecType extends AggregateSpec
213+
>(
214+
left: AggregateQuerySnapshot<AggregateSpecType>,
215+
right: AggregateQuerySnapshot<AggregateSpecType>
214216
): boolean {
215217
return (
216218
queryEqual(left.query, right.query) && deepEqual(left.data(), right.data())

packages/firestore/src/lite-api/reference_impl.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ import {
6464
import { AbstractUserDataWriter } from './user_data_writer';
6565

6666
/**
67-
* Converts custom model object of type T into `DocumentData` by applying the
68-
* converter if it exists.
67+
* Converts custom model object of type `AppType` into `DocumentData` by
68+
* applying the converter if it exists.
6969
*
7070
* This function is used when converting user objects to `DocumentData`
7171
* because we want to provide the user with a more specific error message if

0 commit comments

Comments
 (0)