Utility TypeScript @ 2.0.0-beta
GitHub
by Maddi Mathon
Preparing search index...
classes
node
NodeConsole_Prompt
SelectConfig
Type Alias SelectConfig<Value>
Experimental
SelectConfig
:
Omit
<
Config
<
"select"
,
Value
>
,
"default"
>
&
{
choices
:
|
[
string
]
&
string
[]
|
{
value
:
Value
;
description
?:
string
;
disabled
?:
boolean
|
string
;
name
?:
string
;
short
?:
string
;
}
[]
;
default
?:
Value
;
loop
?:
boolean
;
pageSize
?:
number
;
theme
?:
RecursivePartial
<
DefaultTheme
&
{
helpMode
:
"always"
|
"never"
|
"auto"
;
icon
:
{
cursor
:
string
}
;
indexMode
:
"hidden"
|
"number"
;
style
:
{
description
:
(
text
:
string
)
=>
string
;
disabled
:
(
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
Loading...
Optional configuration for NodeConsole.prompt.select.