Function severityToString

  • Converts a DiagnosticSeverity to a string representation.

    Parameters

    • severity: undefined | number

      The DiagnosticSeverity to convert.

    Returns string

    A string representing the severity.