Type Alias TerminalStyleFormatter

TerminalStyleFormatter: (input: string) => string

Callback that takes an input string and returns the result with formatting applied.

Type declaration

    • (input: string): string
    • Parameters

      • input: string

        Value to style.

      Returns string

      Input with style modifiers.