Skip to content

Commit 9d2fd68

Browse files
committed
Revert firestore lite typings test fix
1 parent 9628d69 commit 9d2fd68

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ import {
3333
FirestoreDataConverter,
3434
QueryDocumentSnapshot
3535
} from '../../../src/lite-api/snapshot';
36+
import { DocumentSnapshot } from '../../../src';
3637

3738
// A union type for testing
3839
type MyUnionType = string | number;
@@ -632,7 +633,7 @@ describe('FirestoreTypeConverter', () => {
632633
await setDoc(newDocRef, { stringProperty: 'foo', numberProperty: 42 });
633634
await updateDoc(newDocRef, { a: 'newFoo', b: 43 });
634635
const snapshot = await getDoc(newDocRef);
635-
const data: PartialWithFieldValue<MyModelType> = snapshot.data()!;
636+
const data: MyModelType = snapshot.data()!;
636637
expect(data.stringProperty).to.equal('newFoo');
637638
expect(data.numberProperty).to.equal(43);
638639
}

0 commit comments

Comments
 (0)