title: Problems with Angular and Firebase: auth and User
body: <p>I am doing a project in Angular with Firebase. In the auth.service.ts file when importing auth and User, Visual Studio Code does not recognize them.</p>
  <pre><code>import { auth } from 'firebase/app';
  import { User } from 'firebase';
  
  import { AngularFireAuth } from '@angular/fire/auth'
  
  @Injectable()
  export class AuthService {
    public user:User;
  
    constructor(public afAuth: AngularFireAuth) { }
  
    async login( email:string, password:string){}
    register(){}
    logout(){}
    getCurrentUser(){}
  
  }
  </code></pre>
  <p>I have the problem in:</p>
  <p>import { auth } from 'firebase/app';</p>
  <p>import { User } from 'firebase';</p>
  <p>Please, help.</p>
  <p>I have this erros:
  This: 'auth' is declared but its value is never read.ts(6133) Module '&quot;../../../../node_modules/firebase&quot;' has no exported member 'auth'. Did you mean to use 'import auth from &quot;../../../../node_modules/firebase&quot;' instead?ts(2614). –</p>
  <p>And this: import User Module '&quot;../../../../node_modules/firebase&quot;' has no exported member 'User'. Did you mean to use 'import User from &quot;../../../../node_modules/firebase&quot;' instead?ts(2614) –</p>