Last active
March 18, 2018 21:03
-
-
Save djabif/f75ddb4d88fcb0816dc147f04c645740 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
doRegister(value){ | |
return new Promise<any>((resolve, reject) => { | |
firebase.auth().createUserWithEmailAndPassword(value.email, value.password) | |
.then(res => { | |
resolve(res); | |
}, err => reject(err)) | |
}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment