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:
Vytenis
2020-01-31 13:28:03 +02:00
committed by GitHub
parent 46be1b0c99
commit 2cd513aee3
2 changed files with 2 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ export default class ConfirmationResult {
.then(user => this._auth._setUser(user));
}
get verificationId(): string | null {
get verificationId() {
return this._verificationId;
}
}

View File

@@ -26,7 +26,7 @@ export default class OAuthProvider {
return providerId;
}
static credential(idToken, accessToken): AuthCredential {
static credential(idToken, accessToken) {
return {
token: idToken,
secret: accessToken,