UNPKG

remark-auto-diff

Version:

A remark plugin providing an alternative syntax to author diff code blocks in Markdown.

10 lines 290 B
//#region src/libs/diff.d.ts declare function getDiff(a: string, b: string): Diff; type DiffType = 'del' | 'ins' | undefined; interface DiffLine { text: string; type: DiffType; } type Diff = DiffLine[]; //#endregion export { Diff, DiffType, getDiff }; //# sourceMappingURL=diff.d.ts.map