We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
MyModelType
1 parent 6bda4e2 commit 9628d69Copy full SHA for 9628d69
packages/firestore/test/unit/lite-api/types.test.ts
@@ -632,7 +632,7 @@ describe('FirestoreTypeConverter', () => {
632
await setDoc(newDocRef, { stringProperty: 'foo', numberProperty: 42 });
633
await updateDoc(newDocRef, { a: 'newFoo', b: 43 });
634
const snapshot = await getDoc(newDocRef);
635
- const data: MyModelType = snapshot.data()!;
+ const data: PartialWithFieldValue<MyModelType> = snapshot.data()!;
636
expect(data.stringProperty).to.equal('newFoo');
637
expect(data.numberProperty).to.equal(43);
638
}
0 commit comments