UNPKG

react-diff-view

Version:

A git diff component to consume the git unified diff output.

5 lines (4 loc) 250 B
import { Side } from '../../interface'; export declare function first<T>(array: T[]): T; export declare function last<T>(array: T[]): T; export declare function sideToProperty(side: Side): readonly ["oldStart" | "newStart", "oldLines" | "newLines"];