TextProofreaderCorrectionType type

Edit operation type for a proofreading diff segment (also exported as CorrectionType).

  • 'SAME': Unchanged text span.
  • 'INSERTION': Newly inserted text span.
  • 'DELETION': Deleted text span from the original input.

Signature:

export declare type TextProofreaderCorrectionType = 'SAME' | 'INSERTION' | 'DELETION';
export declare type CorrectionType = TextProofreaderCorrectionType;