UNPKG

danger

Version:
15 lines (14 loc) 437 B
import { StructuredDiff } from "../../dsl/GitDSL"; export interface InlinePosition { pathDiff: PathDiff; lineDiff: LineDiff; } export interface PathDiff { oldPath: string | undefined; newPath: string; } export interface LineDiff { oldLine: number | undefined; newLine: number | undefined; } export declare function inlinePositionParser(structuredDiff: StructuredDiff, path: string, line: number): InlinePosition;