File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/firestore/src/lite-api Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -159,10 +159,10 @@ export class Query<
159
159
* @param converter - Converts objects to and from Firestore.
160
160
* @returns A `Query` that uses the provided converter.
161
161
*/
162
- withConverter < NewAppModelType , NewDbModelType extends DocumentData > (
162
+ withConverter < NewAppModelType , NewDbModelType extends DocumentData = DocumentData > (
163
163
converter : FirestoreDataConverter < NewAppModelType , NewDbModelType >
164
164
) : Query < NewAppModelType , NewDbModelType > ;
165
- withConverter < NewAppModelType , NewDbModelType extends DocumentData > (
165
+ withConverter < NewAppModelType , NewDbModelType extends DocumentData = DocumentData > (
166
166
converter : FirestoreDataConverter < NewAppModelType , NewDbModelType > | null
167
167
) : Query < NewAppModelType , NewDbModelType > {
168
168
return new Query < NewAppModelType , NewDbModelType > (
You can’t perform that action at this time.
0 commit comments