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

    Represents diagnostic info that includes location of diagnostic in two forms

    • start position and length of the error span
    • startLocation and endLocation - a pair of Location objects that store start/end line and offset of the error span.
    interface DiagnosticWithLinePosition {
        category: string;
        code: number;
        endLocation: tsc.server.protocol.Location;
        length: number;
        message: string;
        relatedInformation?: tsc.server.protocol.DiagnosticRelatedInformation[];
        reportsDeprecated?: {};
        reportsUnnecessary?: {};
        start: number;
        startLocation: tsc.server.protocol.Location;
    }
    Index

    Properties

    category: string
    code: number
    length: number
    message: string
    reportsDeprecated?: {}
    reportsUnnecessary?: {}

    May store more in future. For now, this will simply be true to indicate when a diagnostic is an unused-identifier diagnostic.

    start: number
    startLocation: tsc.server.protocol.Location