FirebaseExtended / FirebaseExtended/rxfire

"Generic type 'AggregateQuerySnapshot<T>' requires 1 type argument(s)."

Open
#88 10 comments 14 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
149
Forks
50
PR merge metrics
No merged PRs in 30d

Description

My Angular app won't compile with rxfire 6.0.5. The error is

```
Error: node_modules/rxfire/firestore/lite/interfaces.d.ts:8:29 - error TS2314: Generic type 'AggregateQuerySnapshot' requires 1 type argument(s).

8 export type CountSnapshot = lite.AggregateQuerySnapshot<{
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9 count: lite.AggregateField;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10 }, any, DocumentData>;
~~~~~~~~~~~~~~~~~~~~~
```

This is with Firebase 9.23.0. I can't get Firebase 10 to work, see my[ StackOverflow question]((https://stackoverflow.com/questions/77024782/what-is-a-firebase-app-no-firebase-app-default-has-been-created-call-i)).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.