Skip to content

Commit 0d132af

Browse files
committed
chore: notes
1 parent 7b5ac5a commit 0d132af

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/firestore/utils.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ export function createSnapshot<T = DocumentData>(
2424
return Object.defineProperty(doc.data() || {}, 'id', { value: doc.id })
2525
}
2626

27+
/**
28+
* Default converter for Firestore data. Can be overridden by setting the
29+
*/
2730
export const firestoreDefaultConverter: FirestoreDataConverter<VueFirestoreDocumentData> =
2831
{
2932
toFirestore(data) {

0 commit comments

Comments
 (0)