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
Thanks for filing this. Sorry this sat for years. It is the same question as #3081, so I am answering in one place: the collection() signature is the Firebase SDK's own, the typed path is withConverter(), and #3838 updates the README and quickstart, which were showing the call that fails.
The full explanation is on #3081. If that does not work for your use case, let me know and I will follow up.
Activity
google-oss-bot commentedon Nov 22, 2021
This issue does not seem to follow the issue template. Make sure you provide all the required information.
RobbyRabbitman commentedon May 19, 2022
I was also surprised, since the other functions are generic. As a workaround u can type it for now manually:
protected readonly resumesCollection = collection( this.firestore, 'resumes' ) as CollectionReference<Resume>;and then those calls will infer the type
getDocs(query(this.resumesCollection, where('user', '==', user?.uid)))armando-navarro commentedon Nov 5, 2026
Thanks for filing this. Sorry this sat for years. It is the same question as #3081, so I am answering in one place: the
collection()signature is the Firebase SDK's own, the typed path iswithConverter(), and #3838 updates the README and quickstart, which were showing the call that fails.The full explanation is on #3081. If that does not work for your use case, let me know and I will follow up.