UNPKG

json-joy

Version:

Collection of libraries for building collaborative editing apps.

5 lines (4 loc) 267 B
import type { Patch } from '../json-crdt-patch'; import type { NodeApi } from '../json-crdt/model'; export declare const diff: (src: NodeApi<any>, dst: unknown) => Patch | undefined; export declare const merge: (src: NodeApi<any>, dst: unknown) => Patch | undefined;