Typescript: CollectionQuery doesn't allow returning null from query function
Closed this issue · 2 comments
damonmaria commented
Release 0.16.0 added the ability to return null
from query functions but null
isn't a valid return type in the Typescript declaration:
export type CollectionQuery =
| ((ref: firestore.CollectionReference) => firestore.Query | undefined)
| firestore.Query;
IjzerenHein commented
Hey thanks for letting me know. I've fixed the problem on master and will push a new release within the next couple of days.
Cheers
IjzerenHein commented
Hi, it's taken way too long, but I have finally released a new version with the fix for this, v1.2.0.
Cheers and let me know whether I can close this issue,
Hein