-
Notifications
You must be signed in to change notification settings - Fork 373
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
database.Reference.push() has no catch but has an Error in it's onComplete handler #433
Comments
Can you be a bit more specific as to what the problem is? Here's how the JS SDK declares the
As you can see it is identical to how the |
I want to use |
This is probably because In the meantime you can always do the following to register an error callback with
|
Describe your environment
Describe the problem
firebase-admin/lib/index.d.ts
:I don't even know how is this possible, here's what
@firebase/database/src/api/Reference.d.ts
looks like (Reference has a catch):The text was updated successfully, but these errors were encountered: