From 3e00e1652814c7f387e16a502b171cbd678e9779 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20St=C3=B8ttrup=20Nielsen?= Date: Wed, 25 Oct 2017 08:03:05 +0200 Subject: [PATCH] fix(afs): added missing type to doc() (#1286) --- src/firestore/collection/collection.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/firestore/collection/collection.ts b/src/firestore/collection/collection.ts index 21aa2f8eb..cd5b7bebb 100644 --- a/src/firestore/collection/collection.ts +++ b/src/firestore/collection/collection.ts @@ -115,7 +115,7 @@ export class AngularFirestoreCollection { * Create a reference to a single document in a collection. * @param path */ - doc(path: string) { - return new AngularFirestoreDocument(this.ref.doc(path)); + doc(path: string) { + return new AngularFirestoreDocument(this.ref.doc(path)); } }