angularfire icon indicating copy to clipboard operation
angularfire copied to clipboard

little fix for an error

Open magelon opened this issue 2 years ago • 1 comments

The types returned by 'data(...)' are incompatible between these types. Type 'T' is not assignable to type 'DocumentData | undefined'. Type 'T' is not assignable to type 'DocumentData'.

Checklist

  • Issue number for this PR: #nnn (required)
  • Docs included?: (yes/no; required for all API/functional changes)
  • Test units included?: (yes/no; required)
  • In a clean directory, yarn install, yarn test run successfully? (yes/no; required)

Description

Code sample

magelon avatar Mar 22 '23 07:03 magelon

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

google-cla[bot] avatar Mar 22 '23 07:03 google-cla[bot]