ReviewItem

tcmts.share.ReviewItem · #fxhz62zf · type

One changed definition in a contribution, with its lines before and after.

export interface ReviewItem {
  change: "added" | "edited" | "reworded" | "renamed" | "removed" | "conflicted";
  path: string;
  hash?: string;
  old?: string;
  from?: string;
  lines: [" " | "+" | "-", string][];
  /** each line as highlighted HTML (one for each of `lines`), where there's code to colour */
  html?: string[];
  test: boolean;
}

used by