TypeshadeTextSpan
Interface in Editor
UTF-16 source span used to map Typeshade information back into an editor.
import type { TypeshadeTextSpan } from 'typeshade'
The signature, the description and the examples come from the compiler's own source at commit 26de7be8.
Syntax
interface TypeshadeTextSpan { readonly start: number; readonly length: number;}Instance properties
startread onlynumberUTF-16 offset where the span begins.
lengthread onlynumberLength of the span, in UTF-16 code units.
Source
src/language-service.ts, line 34, at commit 26de7be8