File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -114,10 +114,12 @@ export const defaultSettings: SettingsState = {
114
114
interface AppContextState {
115
115
auth : AuthState ;
116
116
isLoggedIn : boolean ;
117
- loginWithGitHubApp : ( ) => void ;
118
- loginWithOAuthApp : ( data : LoginOAuthAppOptions ) => void ;
119
- loginWithPersonalAccessToken : ( data : LoginPersonalAccessTokenOptions ) => void ;
120
- logoutFromAccount : ( account : Account ) => void ;
117
+ loginWithGitHubApp : ( ) => Promise < void > ;
118
+ loginWithOAuthApp : ( data : LoginOAuthAppOptions ) => Promise < void > ;
119
+ loginWithPersonalAccessToken : (
120
+ data : LoginPersonalAccessTokenOptions ,
121
+ ) => Promise < void > ;
122
+ logoutFromAccount : ( account : Account ) => Promise < void > ;
121
123
122
124
notifications : AccountNotifications [ ] ;
123
125
status : Status ;
You can’t perform that action at this time.
0 commit comments