Typings: Cannot destructure array anymore when calling getAll #501
Labels
api: firestore
Issues related to the googleapis/nodejs-firestore API.
🚨
This issue needs some love.
triage me
I really want to be triaged.
Since PR #443 has been merged, the signature for
Firestore.getAll()
has changed fromto
with this change, we cannot use array destructuring anymore to "prepare" the refs to fetch in advance.
For example, I used to do the following:
this won't work anymore (I tried to update TS but it did not fix it), the only workaround is to do something like:
Environment details
@google-cloud/firestore
version: 0.19.0Steps to reproduce
.getAll(...userRefs)
) → it won't compileEdit: added #502 to restore previously-working behavior
Regards
The text was updated successfully, but these errors were encountered: