@servicenow/sdk - v4.4.1
    Preparing search index...

    Item of diagnostic information found in a DiagnosticEvent message.

    interface Diagnostic {
        category: string;
        code?: number;
        end: tsc.server.protocol.Location;
        relatedInformation?: tsc.server.protocol.DiagnosticRelatedInformation[];
        reportsDeprecated?: {};
        reportsUnnecessary?: {};
        source?: string;
        start: tsc.server.protocol.Location;
        text: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    category: string

    The category of the diagnostic message, e.g. "error", "warning", or "suggestion".

    code?: number

    The error code of the diagnostic message.

    The last file location at which the text applies.

    Any related spans the diagnostic may have, such as other locations relevant to an error, such as declarartion sites

    reportsDeprecated?: {}
    reportsUnnecessary?: {}
    source?: string

    The name of the plugin reporting the message.

    Starting file location at which text applies.

    text: string

    Text of diagnostic message.