mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-29 04:35:43 +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).
|
* 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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user