From cf3289277b1341b6569a16904024550f1ee668da Mon Sep 17 00:00:00 2001 From: laulaaa Date: Thu, 10 May 2018 02:14:33 -0400 Subject: [PATCH] Update Auth's getting-starder.md In firebase @4.12.0" The function firebaseAuth.authState returns an Observable In firebase @4.13.1" The function firebaseAuth.authState returns an Observable User comes from @firebase/auth-types --- docs/auth/getting-started.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/auth/getting-started.md b/docs/auth/getting-started.md index 275d2e526..0bb080b32 100644 --- a/docs/auth/getting-started.md +++ b/docs/auth/getting-started.md @@ -1,6 +1,6 @@ # 5. Getting started with Firebase Authentication -`AngularFireAuth.authState` provides you an `Observable` to monitor your application's authentication State. +`AngularFireAuth.authState` provides you an `Observable` to monitor your application's authentication State. `AngularFireAuth.auth` returns an initialized `firebase.auth.Auth` instance, allowing you to log users in, out, etc. [See @@ -12,6 +12,7 @@ the Firebase docs for more information on what methods are available.](https://f import { Component } from '@angular/core'; import { AngularFireAuth } from 'angularfire2/auth'; import * as firebase from 'firebase/app'; +import { User } from '@firebase/auth-types'; @Component({ selector: 'app-root',