makeDocumentSnapshot checks the options to see if there is an app property, but DocumentSnapshotOptions calls it firebaseApp. This leads to some weird casting requirements to use makeDocumentSnapshot with your own initialized app.
This issue is here.
|
if (has(options, 'app')) { |
makeDocumentSnapshotchecks the options to see if there is anappproperty, butDocumentSnapshotOptionscalls itfirebaseApp. This leads to some weird casting requirements to usemakeDocumentSnapshotwith your own initialized app.This issue is here.
firebase-functions-test/src/providers/firestore.ts
Line 58 in 22ba3d1