@@ -56,7 +56,7 @@ export namespace FirebaseFirestoreTypes {
5656 export type QueryFilterType = 'OR' | 'AND' ;
5757
5858 export interface QueryFieldFilterConstraint {
59- fieldPath : keyof T | FieldPath ;
59+ fieldPath : FieldPath ;
6060 operator : WhereFilterOp ;
6161 value : any ;
6262 }
@@ -77,7 +77,7 @@ export namespace FirebaseFirestoreTypes {
7777 * e.g. Filter('name', '==', 'Ada')
7878 */
7979 (
80- fieldPath : keyof T | FieldPath ,
80+ fieldPath : FieldPath | string ,
8181 operator : WhereFilterOp ,
8282 value : any ,
8383 ) : QueryFieldFilterConstraint ;
@@ -894,7 +894,7 @@ export namespace FirebaseFirestoreTypes {
894894 // eslint-disable-next-line @typescript-eslint/no-unused-vars
895895 export class AggregateField < T > {
896896 /** A type string to uniquely identify instances of this class. */
897- type = 'AggregateField' ;
897+ readonly type : 'AggregateField' ;
898898 }
899899
900900 /**
@@ -923,14 +923,13 @@ export namespace FirebaseFirestoreTypes {
923923 */
924924 export interface AggregateQuerySnapshot <
925925 AggregateSpecType extends AggregateSpec ,
926- AppModelType = DocumentData ,
927- DbModelType extends DocumentData = DocumentData ,
926+ T extends DocumentData = DocumentData ,
928927 > {
929928 /**
930929 * The underlying query over which the aggregations recorded in this
931930 * `AggregateQuerySnapshot` were performed.
932931 */
933- get query ( ) : Query < AppModelType , DbModelType > ;
932+ get query ( ) : Query < T > ;
934933
935934 /**
936935 * Returns the results of the aggregations performed over the underlying
@@ -953,7 +952,7 @@ export namespace FirebaseFirestoreTypes {
953952 /**
954953 * The underlying query for this instance.
955954 */
956- get query ( ) : Query < unknown > ;
955+ get query ( ) : Query ;
957956
958957 /**
959958 * Executes the query and returns the results as a AggregateQuerySnapshot.
0 commit comments