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

    Object found in response messages defining an editing instruction for a span of text in source code. The effect of this instruction is to replace the text starting at start and ending one character before end with newText. For an insertion, the text span is empty. For a deletion, newText is empty.

    interface CodeEdit {
        end: tsc.server.protocol.Location;
        newText: string;
        start: tsc.server.protocol.Location;
    }
    Index

    Properties

    Properties

    One character past last character of the text span to edit.

    newText: string

    Replace the span defined above with this string (may be the empty string).

    First character of the text span to edit.