TypeshadeRange
On this page

TypeshadeRange

Interface in Editor

A zero-based, half-open source range [start, end), following the LSP convention.

import type { TypeshadeRange } from 'typeshade'

The signature, the description and the examples come from the compiler's own source at commit 26de7be8.

Syntax

interface TypeshadeRange {
readonly start: TypeshadePosition;
readonly end: TypeshadePosition;
}

Instance properties

startread only TypeshadePosition

Inclusive start position of the range.

endread only TypeshadePosition

Exclusive end position of the range.

Source

src/language-service.ts, line 26, at commit 26de7be8

Edit this page Report a problem