In an Angular2 / TypeScript environment, the following code from Firebase documentation errors with "EmailPasswordAuthProvider Does Not Exist on Type Auth".
var credential = firebase.auth.EmailPasswordAuthProvider.credential(email, password);
https://firebase.google.com/docs/auth/web/anonymous-auth Convert an anonymous account to a permanent account
Have installed the latest Firebase typings version: [email protected]
Note that other Firebase methods are working okay and that the auth object requires the open/close brackets e.g.
firebase.auth().createUserWithEmailAndPassword(email, password);
EmailAuthProvider
: firebase.google.com/docs/reference/android/com/google/firebase/… – Frank van Puffelen