• Get a diagnostic formatter for the specified format.

    A "diagnostic formatter" converts arbitrary values into a formatted string. Formatting is controlled by type and the Diagnostic.presentation and Diagnostic.value properties.

    Parameters

    • format: string

    Returns ((diagnostic: unknown, indents?: number) => string)

      • (diagnostic, indents?): string
      • Parameters

        • diagnostic: unknown
        • indents: number = 0

        Returns string

Index