[auth][types] Fix incorrect return type for createUserAndRetrieveDataWithEmailAndPassword #862
This commit is contained in:
parent
8e7c202846
commit
a6734fa439
|
@ -251,7 +251,7 @@ export default class Auth extends ModuleBase {
|
|||
createUserAndRetrieveDataWithEmailAndPassword(
|
||||
email: string,
|
||||
password: string
|
||||
): Promise<User> {
|
||||
): Promise<UserCredential> {
|
||||
return getNativeModule(this)
|
||||
.createUserAndRetrieveDataWithEmailAndPassword(email, password)
|
||||
.then(userCredential => this._setUserCredential(userCredential));
|
||||
|
|
Loading…
Reference in New Issue