interface FileChangePreview

Preview of changes that would be made to a file

Properties

matches: Array<{ line: number; original: string; updated: string; }>

List of matches found

optional
error: string

Error message if preview failed

Usage

import { type FileChangePreview } from ".";