We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The typings for PhoneAuthListener is not right.
interface PhoneAuthListener { on( event: string, observer: () => PhoneAuthSnapshot, errorCb?: () => PhoneAuthError, successCb?: () => PhoneAuthSnapshot ): PhoneAuthListener; then(fn: () => PhoneAuthSnapshot): Promise<any>; catch(fn: () => Error): Promise<any>; }
The function signature of observer, then and catch should have been the following:
observer
then
catch
interface PhoneAuthListener { on( event: string, observer: (snapshot: PhoneAuthSnapshot) => void, errorCb?: (error: PhoneAuthError) => void , successCb?: (snapshot: PhoneAuthSnapshot) => void ): PhoneAuthListener; then(fn: (snapshot: PhoneAuthSnapshot) => void): Promise<any>; catch(fn: (error: Error) => void): Promise<any>; }
The text was updated successfully, but these errors were encountered:
Merged #1185 to address this. Thanks for flagging.
Sorry, something went wrong.
No branches or pull requests
Issue
The typings for PhoneAuthListener is not right.
The function signature of
observer
,then
andcatch
should have been the following:Environment
The text was updated successfully, but these errors were encountered: