Ali Azarkhish
Ali Azarkhish
I think documentId is missing in types and it has other purposes other than just accessing a doc by id for example ``` query(usersColRef(), where(FieldPath.documentId(), "in", userIds)); ``` how else...
Thanks @mikehardy But I believe firebase-js-sd has that in their types https://github.com/firebase/firebase-js-sdk/blob/feb2c9dfa29c9dff01c1272e56f6258176dc6b3a/packages/firestore-types/index.d.ts#L494 But it is missing in modular types in this repo https://github.com/invertase/react-native-firebase/blob/e6642ec51e7e7771611c1c7e36aa6bdeeb4989c9/packages/firestore/lib/modular/FieldPath.d.ts#L9
No Problems @mikehardy It actually works in @react-native-firebase v21.12.0 it's just missing in types , I have to brute force the type ``` import { query, FieldPath, where } from...