数通智联化工云平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

16 lines
569 B

import { Operation, Point } from '..';
/**
* `PointRef` objects keep a specific point 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 point value.
*/
export interface PointRef {
current: Point | null;
affinity: 'forward' | 'backward' | null;
unref(): Point | null;
}
export interface PointRefInterface {
transform: (ref: PointRef, op: Operation) => void;
}
export declare const PointRef: PointRefInterface;
//# sourceMappingURL=point-ref.d.ts.map