freetrade-io / ts-firebase-driver-testing

Swap out Firebase as a driver for in-process testing
MIT License
11 stars 1 forks source link

Support firestore 9 #110

Closed lukesmith closed 3 years ago

lukesmith commented 3 years ago

Updates for support for the latest version of dependencies used by firebase-admin

Solving

Type '() => Database' is not assignable to type '() => IFirebaseRealtimeDatabase'.
        Call signature return types 'Database' and 'IFirebaseRealtimeDatabase' are incompatible.
          The types returned by 'ref(...)' are incompatible between these types.
            Property 'path' is missing in type 'Reference' but required in type 'IFirebaseRealtimeDatabaseRef'.

    12     realTimeDatabase(): admin.database.Database {