Interface DiagnosticRelatedInformation

Hierarchy

Properties

category: 0 | 2 | 3 | 1

Diagnostic category: warning = 0, error = 1, suggestion = 2, message = 3

code: number
file: {
    fileName: string;
}

TypeScriptWorker removes all but the fileName property to avoid serializing circular JSON structures.

Type declaration

  • fileName: string
length: number
messageText: string | DiagnosticMessageChain
start: number