You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For issues related to the code in this repository file a Github issue.
If the issue pertains to Cloud Firestore, read the instructions in the "Firestore issue"
template.
For general technical questions, post a question on StackOverflow
with the firebase tag.
For general Firebase discussion, use the firebase-talk
google group.
For help troubleshooting your application that does not fall under one
of the above categories, reach out to the personalized Firebase support channel.
[REQUIRED] Step 2: Describe your environment
Operating System version: macOS
Firebase SDK version: 10
Firebase Product: database
Node.js version: 14
NPM version: 8
[REQUIRED] Step 3: Describe the problem
The transaction method on a reference is typed to return Promise<any> as opposed to Promise<{ committed: boolean, snapshot: DataSnapshot }>.
I've already raise this in the JS SDK (firebase/firebase-js-sdk#6071) but was told it belong here - I'm not totally sure this is the case though as firebase-admin references @firebase/database-types which is in the firebase/firebase-js-sdk repo...
Steps to reproduce:
See above.
Relevant Code:
See above.
The text was updated successfully, but these errors were encountered:
[READ] Step 1: Are you in the right place?
template.
with the firebase tag.
google group.
of the above categories, reach out to the personalized
Firebase support channel.
[REQUIRED] Step 2: Describe your environment
[REQUIRED] Step 3: Describe the problem
The
transaction
method on a reference is typed to returnPromise<any>
as opposed toPromise<{ committed: boolean, snapshot: DataSnapshot }>
.https://github.com/firebase/firebase-js-sdk/blob/a7f4a2eb6ed08596dffe75825bca1a2034bfcd2e/packages/database-types/index.d.ts#L140-L144
This is the same problem in the docs.
I've already raise this in the JS SDK (firebase/firebase-js-sdk#6071) but was told it belong here - I'm not totally sure this is the case though as
firebase-admin
references@firebase/database-types
which is in thefirebase/firebase-js-sdk
repo...Steps to reproduce:
See above.
Relevant Code:
See above.
The text was updated successfully, but these errors were encountered: