Interface IAnnotation

interface IAnnotation {
    offset: { end: number; start: number };
    interpretAs?: string;
    markup?: string;
    text?: string;
}

Properties

offset: { end: number; start: number }

The offset of the annotation in the text.

interpretAs?: string

The interpretation of the markup.

markup?: string

The markup that the text was generated from.

text?: string

The text that the annotation was generated from.