title: Property ‘createUser’ does not exist on type ‘AngularFireAuth’
body: <p>I am trying to implement authentication system using firebase but shows error when new user is creating account.</p>
  
  <blockquote>
    <p>Property ‘createUser’ does not exist on type ‘AngularFireAuth’</p>
  </blockquote>
  
  <p>Code is:</p>
  
  <pre><code>export class SignupComponent {
      state: string = '';
      error: any;
      constructor(public afAuth: AngularFireAuth,private router: Router) { }
      onSubmit(formData) {
          if(formData.valid) {
          console.log(formData.value);
          this.afAuth.createUser({
              email: formData.value.email,
              password: formData.value.password
          }).then((success) =&gt; {
              this.router.navigate(['/members'])
          }).catch((err) =&gt; {this.error = err;})
      }
  }
  </code></pre>