Skip to content

Commit 3e00e16

Browse files
larssnjamesdaniels
authored andcommitted
fix(afs): added missing type to doc() (#1286)
1 parent 61245a3 commit 3e00e16

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/firestore/collection/collection.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export class AngularFirestoreCollection<T> {
115115
* Create a reference to a single document in a collection.
116116
* @param path
117117
*/
118-
doc(path: string) {
119-
return new AngularFirestoreDocument(this.ref.doc(path));
118+
doc<T>(path: string) {
119+
return new AngularFirestoreDocument<T>(this.ref.doc(path));
120120
}
121121
}

0 commit comments

Comments
 (0)