File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1811,7 +1811,7 @@ firebase.auth.PhoneAuthProvider.PROVIDER_ID;
18111811 * {@link firebase.auth.PhoneAuthProvider#verifyPhoneNumber}.
18121812 * @param {string } verificationCode The verification code sent to the user's
18131813 * mobile device.
1814- * @return {!firebase.Promise<!firebase. auth.AuthCredential> }
1814+ * @return {!firebase.auth.AuthCredential } The auth provider credential.
18151815 */
18161816firebase . auth . PhoneAuthProvider . credential =
18171817 function ( verificationId , verificationCode ) { } ;
Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ declare namespace firebase.auth {
196196
197197 class PhoneAuthProvider extends PhoneAuthProvider_Instance {
198198 static PROVIDER_ID : string ;
199- static credential ( verificationId : string , verificationCode : string ) : firebase . Promise < any > ;
199+ static credential ( verificationId : string , verificationCode : string ) : firebase . auth . AuthCredential ;
200200 }
201201 class PhoneAuthProvider_Instance implements firebase . auth . AuthProvider {
202202 constructor ( auth ? : firebase . auth . Auth | null ) ;
Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ declare namespace firebase.auth {
196196
197197 class PhoneAuthProvider extends PhoneAuthProvider_Instance {
198198 static PROVIDER_ID : string ;
199- static credential ( verificationId : string , verificationCode : string ) : firebase . Promise < any > ;
199+ static credential ( verificationId : string , verificationCode : string ) : firebase . auth . AuthCredential ;
200200 }
201201 class PhoneAuthProvider_Instance implements firebase . auth . AuthProvider {
202202 constructor ( auth ? : firebase . auth . Auth | null ) ;
You can’t perform that action at this time.
0 commit comments