You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
610 B
30 lines
610 B
export type Formatter = (input: string | number | null | undefined) => string |
|
|
|
export interface Colors { |
|
isColorSupported: boolean |
|
reset: Formatter |
|
bold: Formatter |
|
dim: Formatter |
|
italic: Formatter |
|
underline: Formatter |
|
inverse: Formatter |
|
hidden: Formatter |
|
strikethrough: Formatter |
|
black: Formatter |
|
red: Formatter |
|
green: Formatter |
|
yellow: Formatter |
|
blue: Formatter |
|
magenta: Formatter |
|
cyan: Formatter |
|
white: Formatter |
|
gray: Formatter |
|
bgBlack: Formatter |
|
bgRed: Formatter |
|
bgGreen: Formatter |
|
bgYellow: Formatter |
|
bgBlue: Formatter |
|
bgMagenta: Formatter |
|
bgCyan: Formatter |
|
bgWhite: Formatter |
|
}
|
|
|