first commit

This commit is contained in:
Warunee Tamkoo 2023-09-06 14:51:44 +07:00
commit eb2f504652
32490 changed files with 5731109 additions and 0 deletions

21
node_modules/fast-diff/diff.d.ts generated vendored Normal file
View file

@ -0,0 +1,21 @@
declare function diff(
text1: string,
text2: string,
cursorPos?: number | diff.CursorInfo,
cleanup?: boolean
): diff.Diff[];
declare namespace diff {
type Diff = [-1 | 0 | 1, string];
const DELETE: -1;
const INSERT: 1;
const EQUAL: 0;
interface CursorInfo {
oldRange: { index: number; length: number };
newRange: { index: number; length: number };
}
}
export = diff;