File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -123,8 +123,8 @@ declare namespace firebase.auth {
123
123
currentUser : firebase . User | null ;
124
124
fetchProvidersForEmail ( email : string ) : firebase . Promise < any > ;
125
125
getRedirectResult ( ) : firebase . Promise < any > ;
126
- onAuthStateChanged ( nextOrObserver : Object , error ? : ( a : firebase . auth . Error ) => any , completed ? : ( ) => any ) : ( ) => any ;
127
- onIdTokenChanged ( nextOrObserver : Object , error ? : ( a : firebase . auth . Error ) => any , completed ? : ( ) => any ) : ( ) => any ;
126
+ onAuthStateChanged ( nextOrObserver : Object | ( ( user : firebase . User | null ) => any ) , error ? : ( a : firebase . auth . Error ) => any , completed ? : ( ) => any ) : ( ) => any ;
127
+ onIdTokenChanged ( nextOrObserver : Object | ( ( user : firebase . User | null ) => any ) , error ? : ( a : firebase . auth . Error ) => any , completed ? : ( ) => any ) : ( ) => any ;
128
128
sendPasswordResetEmail ( email : string ) : firebase . Promise < any > ;
129
129
signInAndRetrieveDataWithCredential ( credential : firebase . auth . AuthCredential ) : firebase . Promise < any > ;
130
130
signInAnonymously ( ) : firebase . Promise < any > ;
Original file line number Diff line number Diff line change @@ -123,8 +123,8 @@ declare namespace firebase.auth {
123
123
currentUser : firebase . User | null ;
124
124
fetchProvidersForEmail ( email : string ) : firebase . Promise < any > ;
125
125
getRedirectResult ( ) : firebase . Promise < any > ;
126
- onAuthStateChanged ( nextOrObserver : Object , error ? : ( a : firebase . auth . Error ) => any , completed ? : ( ) => any ) : ( ) => any ;
127
- onIdTokenChanged ( nextOrObserver : Object , error ? : ( a : firebase . auth . Error ) => any , completed ? : ( ) => any ) : ( ) => any ;
126
+ onAuthStateChanged ( nextOrObserver : Object | ( ( user : firebase . User | null ) => any ) , error ? : ( a : firebase . auth . Error ) => any , completed ? : ( ) => any ) : ( ) => any ;
127
+ onIdTokenChanged ( nextOrObserver : Object | ( ( user : firebase . User | null ) => any ) , error ? : ( a : firebase . auth . Error ) => any , completed ? : ( ) => any ) : ( ) => any ;
128
128
sendPasswordResetEmail ( email : string ) : firebase . Promise < any > ;
129
129
signInAndRetrieveDataWithCredential ( credential : firebase . auth . AuthCredential ) : firebase . Promise < any > ;
130
130
signInAnonymously ( ) : firebase . Promise < any > ;
You can’t perform that action at this time.
0 commit comments