File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -921,12 +921,16 @@ export namespace FirebaseFirestoreTypes {
921921 /**
922922 * The results of executing an aggregation query.
923923 */
924- export interface AggregateQuerySnapshot < T extends AggregateSpec > {
924+ export interface AggregateQuerySnapshot <
925+ AggregateSpecType extends AggregateSpec ,
926+ AppModelType = DocumentData ,
927+ DbModelType extends DocumentData = DocumentData ,
928+ > {
925929 /**
926930 * The underlying query over which the aggregations recorded in this
927931 * `AggregateQuerySnapshot` were performed.
928932 */
929- get query ( ) : Query < unknown > ;
933+ get query ( ) : Query < AppModelType , DbModelType > ;
930934
931935 /**
932936 * Returns the results of the aggregations performed over the underlying
@@ -939,7 +943,7 @@ export namespace FirebaseFirestoreTypes {
939943 * @returns The results of the aggregations performed over the underlying
940944 * query.
941945 */
942- data ( ) : AggregateSpecData < T > ;
946+ data ( ) : AggregateSpecData < AggregateSpecType > ;
943947 }
944948
945949 /**
You can’t perform that action at this time.
0 commit comments