[auth] fetchProvidersForEmail Fix incorrect flow type
This commit is contained in:
parent
45f8f4076d
commit
154ff9bcf6
|
@ -160,7 +160,7 @@ export default class Auth extends Base {
|
|||
* Returns a list of authentication providers that can be used to sign in a given user (identified by its main email address).
|
||||
* @return {Promise}
|
||||
*/
|
||||
fetchProvidersForEmail(email: string): Promise<Object> {
|
||||
fetchProvidersForEmail(email: string): Promise<Array<String>> {
|
||||
return FirebaseAuth.fetchProvidersForEmail(email);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue