File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ export type Options = {
5858
5959 @default 'cyan'
6060 */
61- readonly color ?: Color ;
61+ readonly color ?: Color | boolean ;
6262
6363 /**
6464 Set to `false` to stop Ora from hiding the cursor.
@@ -186,7 +186,7 @@ export interface Ora {
186186 /**
187187 Change the spinner color.
188188 */
189- color : Color ;
189+ color : Color | boolean ;
190190
191191 /**
192192 Change the spinner indent.
Original file line number Diff line number Diff line change @@ -76,9 +76,9 @@ Or an object like:
7676
7777##### color
7878
79- Type: ` string ` \
79+ Type: ` string | boolean ` \
8080Default: ` 'cyan' ` \
81- Values: ` 'black' | 'red' | 'green' | 'yellow' | 'blue' | 'magenta' | 'cyan' | 'white' | 'gray' `
81+ Values: ` 'black' | 'red' | 'green' | 'yellow' | 'blue' | 'magenta' | 'cyan' | 'white' | 'gray' | boolean `
8282
8383The color of the spinner.
8484
You can’t perform that action at this time.
0 commit comments