mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-01-12 22:50:20 +08:00
[auth] fetchProvidersForEmail Fix incorrect flow type
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user