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.
1 parent b82f2b6 commit b19aebdCopy full SHA for b19aebd
packages/firestore/test/unit/lite-api/types.test.ts
@@ -33,7 +33,6 @@ import {
33
FirestoreDataConverter,
34
QueryDocumentSnapshot
35
} from '../../../src/lite-api/snapshot';
36
-import { DocumentSnapshot } from '../../../src';
37
38
// A union type for testing
39
type MyUnionType = string | number;
@@ -601,7 +600,7 @@ describe('FirestoreTypeConverter', () => {
601
600
stringProperty: string;
602
numberProperty: number;
603
}
604
- const converter = {
+ const converter: FirestoreDataConverter<MyModelType> = {
605
toFirestore(
606
modelObject: PartialWithFieldValue<MyModelType>,
607
options?: SetOptions
0 commit comments