| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -58,7 +58,7 @@ export type Options = { | |||
| 58 | 58 | ||
| 59 | 59 | @default 'cyan' | |
| 60 | 60 | */ | |
| 61 | - readonly color?: Color; | ||
| 61 | + readonly color?: Color | boolean; | ||
| 62 | 62 | ||
| 63 | 63 | /** | |
| 64 | 64 | Set to `false` to stop Ora from hiding the cursor. | |
@@ -186,7 +186,7 @@ export interface Ora { | |||
| 186 | 186 | /** | |
| 187 | 187 | Change the spinner color. | |
| 188 | 188 | */ | |
| 189 | - color: Color; | ||
| 189 | + color: Color | boolean; | ||
| 190 | 190 | ||
| 191 | 191 | /** | |
| 192 | 192 | Change the spinner indent. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -76,9 +76,9 @@ Or an object like: | |||
| 76 | 76 | ||
| 77 | 77 | ##### color | |
| 78 | 78 | ||
| 79 | - Type: `string`\ | ||
| 79 | + Type: `string | boolean`\ | ||
| 80 | 80 | Default: `'cyan'`\ | |
| 81 | - Values: `'black' | 'red' | 'green' | 'yellow' | 'blue' | 'magenta' | 'cyan' | 'white' | 'gray'` | ||
| 81 | + Values: `'black' | 'red' | 'green' | 'yellow' | 'blue' | 'magenta' | 'cyan' | 'white' | 'gray' | boolean` | ||
| 82 | 82 | ||
| 83 | 83 | The color of the spinner. | |
| 84 | 84 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments