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

    Interface CompletionInfo

    interface CompletionInfo {
        entries: tsc.CompletionEntry[];
        flags?: CompletionInfoFlags;
        isGlobalCompletion: boolean;
        isIncomplete?: true;
        isMemberCompletion: boolean;
        isNewIdentifierLocation: boolean;
        optionalReplacementSpan?: tsc.TextSpan;
    }
    Index

    Properties

    entries: tsc.CompletionEntry[]

    For performance telemetry.

    isGlobalCompletion: boolean

    Not true for all global completions. This will be true if the enclosing scope matches a few syntax kinds. See isSnippetScope.

    isIncomplete?: true

    Indicates to client to continue requesting completions on subsequent keystrokes.

    isMemberCompletion: boolean
    isNewIdentifierLocation: boolean

    true when the current location also allows for a new identifier

    optionalReplacementSpan?: tsc.TextSpan

    In the absence of CompletionEntry["replacementSpan"], the editor may choose whether to use this span or its default one. If CompletionEntry["replacementSpan"] is defined, that span must be used to commit that completion entry.