You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know if this is a bug or I just don't understand something and set something wrongly, but in the docs, it says that if I don't provide an argument to the depopulate method, it returns all populated fields in the document to their original state. However, in TypeScript I am not able to call on the method with no arguments:
doc.depopulate()
For this line of code I get the following error:
Expected 1 arguments, but got 0. ts(2554)
The text was updated successfully, but these errors were encountered:
I don't know if this is a bug or I just don't understand something and set something wrongly, but in the docs, it says that if I don't provide an argument to the
depopulate
method, it returns all populated fields in the document to their original state. However, in TypeScript I am not able to call on the method with no arguments:doc.depopulate()
For this line of code I get the following error:
Expected 1 arguments, but got 0. ts(2554)
The text was updated successfully, but these errors were encountered: