@@ -47,7 +47,7 @@ export class User extends impl.UserImpl implements compat.User {
47
47
credential : compat . AuthCredential
48
48
) : Promise < compat . UserCredential > {
49
49
return convertCredential (
50
- this . auth ,
50
+ ( this . auth as unknown ) as externs . Auth ,
51
51
impl . linkWithCredential ( this , credential as externs . AuthCredential )
52
52
) ;
53
53
}
@@ -56,15 +56,15 @@ export class User extends impl.UserImpl implements compat.User {
56
56
applicationVerifier : compat . ApplicationVerifier
57
57
) : Promise < compat . ConfirmationResult > {
58
58
return convertConfirmationResult (
59
- this . auth ,
59
+ ( this . auth as unknown ) as externs . Auth ,
60
60
impl . linkWithPhoneNumber ( this , phoneNumber , applicationVerifier )
61
61
) ;
62
62
}
63
63
async linkWithPopup (
64
64
provider : compat . AuthProvider
65
65
) : Promise < compat . UserCredential > {
66
66
return convertCredential (
67
- this . auth ,
67
+ ( this . auth as unknown ) as externs . Auth ,
68
68
impl . linkWithPopup (
69
69
this ,
70
70
provider as externs . AuthProvider ,
@@ -88,7 +88,7 @@ export class User extends impl.UserImpl implements compat.User {
88
88
credential : compat . AuthCredential
89
89
) : Promise < compat . UserCredential > {
90
90
return convertCredential (
91
- this . auth ,
91
+ ( this . auth as unknown ) as externs . Auth ,
92
92
impl . reauthenticateWithCredential (
93
93
this ,
94
94
credential as externs . AuthCredential
@@ -100,15 +100,15 @@ export class User extends impl.UserImpl implements compat.User {
100
100
applicationVerifier : compat . ApplicationVerifier
101
101
) : Promise < compat . ConfirmationResult > {
102
102
return convertConfirmationResult (
103
- this . auth ,
103
+ ( this . auth as unknown ) as externs . Auth ,
104
104
impl . reauthenticateWithPhoneNumber ( this , phoneNumber , applicationVerifier )
105
105
) ;
106
106
}
107
107
reauthenticateWithPopup (
108
108
provider : compat . AuthProvider
109
109
) : Promise < compat . UserCredential > {
110
110
return convertCredential (
111
- this . auth ,
111
+ ( this . auth as unknown ) as externs . Auth ,
112
112
impl . reauthenticateWithPopup (
113
113
this ,
114
114
provider as externs . AuthProvider ,
0 commit comments