title: Parameter 'user' implicitly has an 'any' type.ts
body: <p>I always getting this Error trying to set up an Google Authentication with firebase.</p>
  <blockquote>
  <p>Parameter 'user' implicitly has an 'any' type.ts(7006)</p>
  </blockquote>
  <p>I searched everywhere but i cant figure out how to fix it :/</p>
  <p>The code:<code>enter code here</code></p>
  <pre><code>user$: Observable&lt;User | null | undefined&gt;;    
  async googleSignin() {
          const provider = new firebase.auth.GoogleAuthProvider();
          const credential = await this.afAuth.signInWithPopup(provider);
          return this.updateUserData(credential.user);
        }
      
      
        private updateUserData(user) {    //This user causes the Error
          // Sets user data to firestore on login
          const userRef: AngularFirestoreDocument&lt;User&gt; = this.afs.doc(`users/${user.uid}`);
      
          const data = { 
            uid: user.uid, 
            email: user.email, 
            displayName: user.displayName, 
            photoURL: user.photoURL
            } 
      
          return userRef.set(data, { merge: true })
      
        }
  </code></pre>
  <p>Can someone pls help :D</p>
  <p>The documentation for this code: <a href="https://fireship.io/lessons/angularfire-google-oauth/" rel="nofollow noreferrer">https://fireship.io/lessons/angularfire-google-oauth/</a></p>