@dev-build-deploy/diagnose-it
Version:
Expressive Diagnostics library
12 lines (11 loc) • 436 B
TypeScript
import { DiagnosticsMessage } from "./diagnosticsMessage";
/**
* Creates a patch based on an unified Diff.
*
* NOTE: This is not a full implementation of the unified Diff format,
* but only supports the bare minimum required to create a patch
* that applies Fix-It Hints, covering a single line in a single
* hunk.
* @returns Patch.
*/
export declare function createPatch(message: DiagnosticsMessage): string;