json-joy
Version:
Collection of libraries for building collaborative editing apps.
11 lines (10 loc) • 328 B
TypeScript
import type { NormalizedPath } from './types';
export declare class Value {
readonly parent: Value | null;
readonly step: string | number;
readonly data: unknown;
constructor(parent: Value | null, step: string | number, data: unknown);
path(): NormalizedPath;
segment(): string;
pointer(): string;
}