File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
packages/firestore/src/lite-api Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -208,9 +208,11 @@ export function aggregateFieldEqual(
208
208
* @returns `true` if the objects are "equal", as defined above, or `false`
209
209
* otherwise.
210
210
*/
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 >
214
216
) : boolean {
215
217
return (
216
218
queryEqual ( left . query , right . query ) && deepEqual ( left . data ( ) , right . data ( ) )
Original file line number Diff line number Diff line change @@ -64,8 +64,8 @@ import {
64
64
import { AbstractUserDataWriter } from './user_data_writer' ;
65
65
66
66
/**
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.
69
69
*
70
70
* This function is used when converting user objects to `DocumentData`
71
71
* because we want to provide the user with a more specific error message if
You can’t perform that action at this time.
0 commit comments