Utility TypeScript @ 2.0.0-beta.5
GitHub
by Maddi Mathon
Preparing search index...
node
NodeConsole_Prompt
SelectConfig
Type Alias SelectConfig<Value>
Experimental
SelectConfig
:
Omit
<
Config
<
"select"
,
Value
&
string
>
,
"default"
>
&
{
choices
:
(
|
Value
&
string
|
inquirer.Separator
|
{
value
:
Value
&
string
;
description
?:
string
;
disabled
?:
boolean
|
string
;
name
?:
string
;
short
?:
string
;
type
?:
never
;
}
)
[]
;
message
:
string
;
default
?:
Value
&
string
;
loop
?:
boolean
;
pageSize
?:
number
;
theme
?:
RecursivePartial
<
DefaultTheme
&
{
icon
:
{
cursor
:
string
}
;
indexMode
:
"hidden"
|
"number"
;
style
:
{
description
:
(
text
:
string
)
=>
string
;
disabled
:
(
text
:
string
)
=>
string
;
keysHelpTip
:
(
text
:
string
)
=>
string
;
}
;
}
,
>
;
}
Optional configuration for NodeConsole.prompt.select.
Type Parameters
Value
extends
SelectValue
=
SelectValue
Settings
Member Visibility
Alpha
Beta
External
Inherited
Private
Protected
Theme
OS
Light
Dark
GitHub
by Maddi Mathon
Utility TypeScript @ 2.0.0-beta.5
Loading...
Optional configuration for NodeConsole.prompt.select.