UNPKG

mute-structs

Version:

NodeJS module providing an implementation of the LogootSplit CRDT algorithm

9 lines (8 loc) 315 B
import { LogootSRopes } from "../logootsropes"; import { LogootSOperation } from "./logootsoperation"; export declare abstract class TextOperation { readonly index: number; readonly author: number; constructor(index: number, author: number); abstract applyTo(doc: LogootSRopes): LogootSOperation; }