Skip to content
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

Cast collectionData to avoid TS errors #3434

Merged
merged 3 commits into from May 14, 2024

Commits on Feb 7, 2024

  1. Cast collectionData to avoid TS errors

    Using the current code example, I am getting an error message Typescript error message like: 
    
    ```
    Type 'Observable<(DocumentData | (DocumentData & { .... }))[]>' is not assignable to type 'Observable<Item[]>'.
    ```
    
    This change also makes this code example more consistent with the current example in [firestore.md](https://github.com/angular/angularfire/blob/5793d6f3a15aa61660af75ab361c534cde9b73df/docs/firestore.md?plain=1#L91)
    ahmetkizilay committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    3dcf402 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a0bac7e View commit details
    Browse the repository at this point in the history

Commits on May 14, 2024

  1. Configuration menu
    Copy the full SHA
    ba83ee1 View commit details
    Browse the repository at this point in the history