Utility TypeScript @ 2.0.0-beta
    Preparing search index...

    Optional configuration for MessageMaker.

    0.1.1

    interface Args {
        ansiColours: AnsiColours;
        argsRecursive: true;
        msg: MessageMaker.MsgArgs;
        painter: null | ((line: string, args?: Partial<PainterArgs>) => string);
        paintFormat: null | "node" | "html" | "markdown";
        paintIfEmpty: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    ansiColours: AnsiColours

    Ansi colour codes for the default node {@link MessageMaker.Args}.painter function.

    argsRecursive: true

    Whether the arguments should be merged recursively.

    Default arguments for MessageMaker.msg. Merged with the default value recursively.

    MessageMaker.buildArgs For default value.

    painter: null | ((line: string, args?: Partial<PainterArgs>) => string)

    Function used to apply formatting to the messages.

    MessageMaker.buildArgs For default values.

    paintFormat: null | "node" | "html" | "markdown"

    Defines the default {@link MessageMaker.Args}.painter value.

    null
    
    paintIfEmpty: boolean

    Whether even empty strings (or strings with only spaces) should be painted with MessageMaker.painter.

    false