Skip to content

Commit 9628d69

Browse files
committed
Declare Firestore Data Converter test type MyModelType as PartialWithFieldValue
1 parent 6bda4e2 commit 9628d69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/firestore/test/unit/lite-api/types.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ describe('FirestoreTypeConverter', () => {
632632
await setDoc(newDocRef, { stringProperty: 'foo', numberProperty: 42 });
633633
await updateDoc(newDocRef, { a: 'newFoo', b: 43 });
634634
const snapshot = await getDoc(newDocRef);
635-
const data: MyModelType = snapshot.data()!;
635+
const data: PartialWithFieldValue<MyModelType> = snapshot.data()!;
636636
expect(data.stringProperty).to.equal('newFoo');
637637
expect(data.numberProperty).to.equal(43);
638638
}

0 commit comments

Comments
 (0)