From 154ff9bcf6ae745fb2ae4398e619fa00033c3ce7 Mon Sep 17 00:00:00 2001 From: Elliot Hesp Date: Thu, 25 May 2017 15:30:39 +0100 Subject: [PATCH] [auth] fetchProvidersForEmail Fix incorrect flow type --- lib/modules/auth/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/modules/auth/index.js b/lib/modules/auth/index.js index 5b58a40c..c6db2f6d 100644 --- a/lib/modules/auth/index.js +++ b/lib/modules/auth/index.js @@ -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 { + fetchProvidersForEmail(email: string): Promise> { return FirebaseAuth.fetchProvidersForEmail(email); }