Interface DiagnosticRelatedInformation

Represents a related message and source code location for a diagnostic. This should be used to point to code locations that cause or related to a diagnostics, e.g when duplicating a symbol in a scope.

interface DiagnosticRelatedInformation {
    location: Location;
    message: string;
}

Properties

Properties

location: Location

The location of this related diagnostic information.

message: string

The message of this related diagnostic information.