I have been trying to use the react native firestore library with type script but I cannot seem to find where to get the types for the document references and collection referencescan I have any help Ideally I would like all my functions to be typed like this.
export async function save(collection, data) { let docRef<documentReference> = await db.collection(collection).doc(); docRef.set(data); return docRef;}
Also does any know if react native firestore has any support for firestore version 9