[auth] fetchProvidersForEmail Fix incorrect flow type

This commit is contained in:
Elliot Hesp
2017-05-25 15:30:39 +01:00
parent 45f8f4076d
commit 154ff9bcf6

View File

@@ -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). * Returns a list of authentication providers that can be used to sign in a given user (identified by its main email address).
* @return {Promise} * @return {Promise}
*/ */
fetchProvidersForEmail(email: string): Promise<Object> { fetchProvidersForEmail(email: string): Promise<Array<String>> {
return FirebaseAuth.fetchProvidersForEmail(email); return FirebaseAuth.fetchProvidersForEmail(email);
} }