diff --git a/packages/firestore/test/integration/api/database.test.ts b/packages/firestore/test/integration/api/database.test.ts index c009fc8e1fd..70b9a78fe18 100644 --- a/packages/firestore/test/integration/api/database.test.ts +++ b/packages/firestore/test/integration/api/database.test.ts @@ -1865,9 +1865,9 @@ apiDescribe('Database', persistence => { }; const testDocs = { doc1: { value: 42 } }; return withTestCollection(persistence, testDocs, async collectionRef => { + const query_ = query(collectionRef, where('value', '==', 42)); // The line below should compile since the DbModelType type parameter of // Query.withConverter() has a default value. - const query_ = query(collectionRef, where('value', '==', 42)); const typedQuery = query_.withConverter(converter); const snapshot = await getDocs(typedQuery); expect(snapshot.size).to.equal(1);