Operation interface.

interface Operation {
    previousValue?: string;
    type: OperationType;
    value: string;
}

Properties

previousValue?: string

The previous value. The previous value is the character that is substituted.

Operation type.

value: string

Operation value. The value is the character that is inserted, deleted, substituted or not changed.