We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd18c61 commit 2b0ce92Copy full SHA for 2b0ce92
README.md
@@ -58,7 +58,7 @@ export class AppComponent {
58
59
constructor() {
60
const itemCollection = collection(this.firestore, 'items');
61
- this.item$ = collectionData(itemCollection);
+ this.item$ = collectionData(itemCollection) as Observable<Item[]>;
62
}
63
64
```
0 commit comments