ITextChunk
Type interface
A piece of text, as split up by TextFormatter.
Sources
ITextChunk is an interface: it describes a shape of data and is not imported on its own.
Properties
textType
stringThe chunk's text.
typeType
"value"|"text"|"format"|"image"Type of the chunk:
"value"for text to process,"text"for quoted text shown as it is,"format"for a style block such as[bold], or"image"for an image block.