mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-06-20 08:43:44 +00:00
Convert lib/actions/auth to typescript
Change-type: patch
This commit is contained in:
@ -101,7 +101,7 @@ export async function exitIfNotLoggedIn(): Promise<void> {
|
||||
}
|
||||
|
||||
export function askLoginType() {
|
||||
return getForm().ask({
|
||||
return getForm().ask<'web' | 'credentials' | 'token' | 'register'>({
|
||||
message: 'How would you like to login?',
|
||||
name: 'loginType',
|
||||
type: 'list',
|
||||
|
Reference in New Issue
Block a user