We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61245a3 commit 3e00e16Copy full SHA for 3e00e16
src/firestore/collection/collection.ts
@@ -115,7 +115,7 @@ export class AngularFirestoreCollection<T> {
115
* Create a reference to a single document in a collection.
116
* @param path
117
*/
118
- doc(path: string) {
119
- return new AngularFirestoreDocument(this.ref.doc(path));
+ doc<T>(path: string) {
+ return new AngularFirestoreDocument<T>(this.ref.doc(path));
120
}
121
0 commit comments