Skip to content

ITextChunk

Type interface

Defines an interface for an object that holds a chunk of text.

Sources

ITextChunk is an interface: it describes a shape of data and is not imported on its own.

Properties

text

Type string

Text.

type

Type "value" | "text" | "format" | "image"

Type of the chunk.