Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit 77805a7

Browse files
committed
fix(android): typings with firestore
1 parent fcc9071 commit 77805a7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/firebase.android.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2502,7 +2502,7 @@ firebase.firestore._getDocumentReference = (docRef?: JDocumentReference): firest
25022502
get: (options?: firestore.GetOptions) => firebase.firestore.getDocument(collectionPath, docRef.getId(), options),
25032503
update: (data: any) => firebase.firestore.update(collectionPath, docRef.getId(), data),
25042504
delete: () => firebase.firestore.delete(collectionPath, docRef.getId()),
2505-
onSnapshot: (optionsOrCallback: firestore.SnapshotListenOptions | ((snapshot: firestore.DocumentSnapshot) => void), callbackOrOnError?: (docOrError: firestore.DocumentSnapshot | Error) => void, onError?: (error: Error) => void) => firebase.onDocumentSnapshot(docRef, optionsOrCallback, callbackOrOnError, onError),
2505+
onSnapshot: (optionsOrCallback: firestore.SnapshotListenOptions | ((snapshot: firestore.DocumentSnapshot) => void), callbackOrOnError?: (docOrError: firestore.DocumentSnapshot | Error) => void, onError?: (error: Error) => void) => firebase.firestore.onDocumentSnapshot(docRef, optionsOrCallback, callbackOrOnError, onError),
25062506
android: docRef
25072507
};
25082508
};

src/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nativescript/firebase",
3-
"version": "11.0.0-rc.7",
3+
"version": "11.0.0-rc.8",
44
"description": "Fire. Base. Firebase!",
55
"main": "firebase",
66
"typings": "index.d.ts",

0 commit comments

Comments
 (0)