(theme: Theme, line: string)
| 855 | } |
| 856 | |
| 857 | const annotateErrorLine = (theme: Theme, line: string): string => |
| 858 | Ansi.annotate(theme.colors, line, Ansi.combine(Ansi.italicized, theme.errorColor)) |
| 859 | const annotateSymbol = (theme: Theme, symbol: string, ...styles: Array<string | Array<string>>): string => |
| 860 | symbol.length === 0 ? "" : Ansi.annotate(theme.colors, symbol, ...styles) |
| 861 | const separateSymbol = (symbol: string, text: string): string => symbol.length === 0 ? text : symbol + " " + text |
no test coverage detected