Interface DiffEntity

Represents a change of a text.

interface DiffEntity {
    @type: "diffEntity";
    length: number;
    offset: number;
    type: DiffEntityType;
}

Properties

Properties

@type: "diffEntity"
length: number

Length of the entity, in UTF-16 code units.

offset: number

Offset of the entity, in UTF-16 code units.

Type of the entity.