Piece

tcmts.core.extract.Piece · #dcrfxd3r · type

Source text is assembled from file ranges and literal strings (e.g. const for one binding of a multi-binding list).

export type Piece = { text: string } | { start: number; end: number };

used by