Radish alpha
r
rad:z4D5UCArafTzTQpDZNQRuqswh3ury
Radicle desktop app
Radicle
Git
radicle-desktop crates radicle-types bindings diff Modification.ts
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { Line } from "../syntax/Line";
import type { Addition } from "./Addition";
import type { Deletion } from "./Deletion";

export type Modification =
  | { "type": "addition" } & Addition
  | { "type": "deletion" } & Deletion
  | {
    "type": "context";
    line: string;
    lineNoOld: number;
    lineNoNew: number;
    highlight: Line | null;
  };