text-manipulation
Version:
A NPM library that assists in text range manipulation
10 lines (9 loc) • 316 B
TypeScript
import { TextPosition } from './text-position';
import { TextRange } from './text-range';
export declare class ImmutableTextRange implements TextRange {
private _start;
private _end;
constructor(interval: [TextPosition, TextPosition]);
readonly start: TextPosition;
readonly end: TextPosition;
}