Skip to content

Interface: Diagnostic ​

Properties ​

code ​

code: DiagnosticCode


level ​

level: "error" | "warning"


message ​

message: string

One sentence describing the problem.


relativeFilePath ​

relativeFilePath: string


lineStart ​

lineStart: number | null

null for problems with the whole file.


columnStart ​

columnStart: number | null

null for problems with the whole file.


testId ​

testId: string | null

The affected test; null when none.


source ​

source: string | null

Source text involved, shortened when long; null when none.