mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-01-12 22:50:20 +08:00
fix(types): remove types in ConfirmationResult.js (#3153)
* Update ConfirmationResult.js 'types' can only be used in a .ts file. * Update OAuthProvider.js
This commit is contained in:
@@ -27,7 +27,7 @@ export default class ConfirmationResult {
|
||||
.then(user => this._auth._setUser(user));
|
||||
}
|
||||
|
||||
get verificationId(): string | null {
|
||||
get verificationId() {
|
||||
return this._verificationId;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@ export default class OAuthProvider {
|
||||
return providerId;
|
||||
}
|
||||
|
||||
static credential(idToken, accessToken): AuthCredential {
|
||||
static credential(idToken, accessToken) {
|
||||
return {
|
||||
token: idToken,
|
||||
secret: accessToken,
|
||||
|
||||
Reference in New Issue
Block a user