-
Notifications
You must be signed in to change notification settings - Fork 409
Closed
Labels
Description
[REQUIRED] Step 2: Describe your environment
- Operating System version: Windows 10
- Firebase SDK version: 9.4.1
- Firebase Product: database
- Node.js version: 10
- NPM version: 6.9.0
- typescript version: 3.9.7
[REQUIRED] Step 3: Describe the problem
I have just updated the firebase-admin-node:
from 8.9.0 to 9.4.1
and now there are some missing properties in type definition for admin.database.Query;
the "path" property is not defined anymore.
also admin.database.Reference.push() method used to be defined to return a promise while now in the type definition
it returns a Reference.
the "wrong" type definitions seems to come from the package @firebase/database-types@^0.5.2
what I want to use are the type definitions from "@firebase/database" package, that is also installed as a dependency of
firebase-admin, but I cannot do it. I need to install @firebase/database as separate dependency in order to use it
Steps to reproduce:
N/A
Relevant Code:
N/A