UNPKG

phx-react

Version:

PHX REACT

6 lines (5 loc) 148 B
export default function simpleDiffWithCursor(a: string, b: string, cursor: number): { index: number; insert: string; remove: number; };