@@ -178,7 +178,7 @@ export class DocumentSnapshot<AppModelType = DocumentData, DbModelType extends D
178178 protected constructor ();
179179 data(options ? : SnapshotOptions ): AppModelType | undefined ;
180180 exists(): this is QueryDocumentSnapshot <AppModelType , DbModelType >;
181- static fromJSON<AppModelType , DbModelType extends DocumentData = DocumentData >(db : Firestore , json : object , converter : FirestoreDataConverter <AppModelType , DbModelType >): DocumentSnapshot <AppModelType , DbModelType >;
181+ static fromJSON<AppModelType , DbModelType extends DocumentData = DocumentData >(db : Firestore , json : object , converter ? : FirestoreDataConverter <AppModelType , DbModelType > | null ): DocumentSnapshot <AppModelType , DbModelType >;
182182 get(fieldPath : string | FieldPath , options ? : SnapshotOptions ): any ;
183183 get id(): string ;
184184 readonly metadata: SnapshotMetadata ;
@@ -655,7 +655,7 @@ export class QuerySnapshot<AppModelType = DocumentData, DbModelType extends Docu
655655 get docs(): Array <QueryDocumentSnapshot <AppModelType , DbModelType >>;
656656 get empty(): boolean ;
657657 forEach(callback : (result : QueryDocumentSnapshot <AppModelType , DbModelType >) => void , thisArg ? : unknown ): void ;
658- static fromJSON<AppModelType , DbModelType extends DocumentData = DocumentData >(db : Firestore , json : object ): QuerySnapshot <AppModelType , DbModelType > | null ;
658+ static fromJSON<AppModelType , DbModelType extends DocumentData = DocumentData >(db : Firestore , json : object ): QuerySnapshot <AppModelType , DbModelType >;
659659 readonly metadata: SnapshotMetadata ;
660660 readonly query: Query <AppModelType , DbModelType >;
661661 get size(): number ;
0 commit comments