File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
packages/firestore/test/unit/lite-api Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff 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
3839type 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 }
You can’t perform that action at this time.
0 commit comments