-
Notifications
You must be signed in to change notification settings - Fork 932
Error on app.d.ts about static credential #48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hey there! I couldn't figure out what this issue is about, so I've labeled it for a human to triage. Hang tight. |
This operation is synchronous and it should return a firebase.auth.AuthCredential. It doesn't return a promise. |
@bojeil-google - I think @condorman is referring to |
This has been fixed so this issue can be closed now. |
Thanks @jsayol! |
Hello,
In app.d.ts and firebase.d.ts the function credential return a Promise, but when i compile the application i have this error in console: " the function .then() missing".
In the firebase-js-sdk the function "credential" return firebase.auth.AuthCredential ?
static credential (verificationId : string , verificationCode : string ) : firebase.Promise < any > ;
==>
static credential (verificationId : string , verificationCode : string ) : firebase.auth.AuthCredential ;
Is a goog solution?
Thank you!
The text was updated successfully, but these errors were encountered: