MCPcopy
hub / github.com/darkreader/darkreader / TextRange

Interface TextRange

src/utils/text.ts:1–4  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1export interface TextRange {
2 start: number;
3 end: number;
4}
5
6export function getTextPositionMessage(text: string, index: number): string {
7 if (!isFinite(index)) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected