File tree 3 files changed +3
-3
lines changed
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;
1811
1811
* {@link firebase.auth.PhoneAuthProvider#verifyPhoneNumber}.
1812
1812
* @param {string } verificationCode The verification code sent to the user's
1813
1813
* mobile device.
1814
- * @return {!firebase.Promise<!firebase. auth.AuthCredential> }
1814
+ * @return {!firebase.auth.AuthCredential } The auth provider credential.
1815
1815
*/
1816
1816
firebase . auth . PhoneAuthProvider . credential =
1817
1817
function ( verificationId , verificationCode ) { } ;
Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ declare namespace firebase.auth {
196
196
197
197
class PhoneAuthProvider extends PhoneAuthProvider_Instance {
198
198
static PROVIDER_ID : string ;
199
- static credential ( verificationId : string , verificationCode : string ) : firebase . Promise < any > ;
199
+ static credential ( verificationId : string , verificationCode : string ) : firebase . auth . AuthCredential ;
200
200
}
201
201
class PhoneAuthProvider_Instance implements firebase . auth . AuthProvider {
202
202
constructor ( auth ? : firebase . auth . Auth | null ) ;
Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ declare namespace firebase.auth {
196
196
197
197
class PhoneAuthProvider extends PhoneAuthProvider_Instance {
198
198
static PROVIDER_ID : string ;
199
- static credential ( verificationId : string , verificationCode : string ) : firebase . Promise < any > ;
199
+ static credential ( verificationId : string , verificationCode : string ) : firebase . auth . AuthCredential ;
200
200
}
201
201
class PhoneAuthProvider_Instance implements firebase . auth . AuthProvider {
202
202
constructor ( auth ? : firebase . auth . Auth | null ) ;
You can’t perform that action at this time.
0 commit comments