From 8ad98d2248601e5517486b9b46448b98e0c37d73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20St=C3=B8ttrup=20Nielsen?= Date: Thu, 19 Oct 2017 14:54:32 +0200 Subject: [PATCH] fix: added missing type to doc() --- 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)); } }