Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
slate / dist / interfaces / path-ref.d.ts
Size: Mime:
import { Operation, Path } from '..';
/**
 * `PathRef` objects keep a specific path in a document synced over time as new
 * operations are applied to the editor. You can access their `current` property
 * at any time for the up-to-date path value.
 */
export interface PathRef {
    current: Path | null;
    affinity: 'forward' | 'backward' | null;
    unref(): Path | null;
}
export declare const PathRef: {
    /**
     * Transform the path ref's current value by an operation.
     */
    transform(ref: PathRef, op: Operation): void;
};
//# sourceMappingURL=path-ref.d.ts.map