Interface PublishDiagnosticsParams

The publish diagnostic notification's parameters.

interface PublishDiagnosticsParams {
    diagnostics: Diagnostic[];
    uri: string;
    version?: number;
}

Properties

diagnostics: Diagnostic[]

An array of diagnostic information items.

uri: string

The URI for which diagnostic information is reported.

version?: number

Optional the version number of the document the diagnostics are published for.

3.15.0