-
Notifications
You must be signed in to change notification settings - Fork 350
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
Typescript errors TS2345 on update method #2372
Labels
Comments
I found a few problems with this issue:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
[READ] Step 1: Are you in the right place?
Yes
[REQUIRED] Step 2: Describe your environment
[REQUIRED] Step 3: Describe the problem
DocumentSnapshot
orDocumentReference
update
method can't be used with typed interfaces. I get the following typescript errorRelevant Code:
Calls like this will get errors:
Quick workaround would be to cast it as any
But it would require to refactor every
update
call which can be painful for large projects.The text was updated successfully, but these errors were encountered: