CheckedDocumentPart describes a part of a previously checked document. All range offsets are only valid to that specific document belonging that check id.

interface CheckedDocumentPart {
    checkId: string;
    externalContent?: ExternalContentMatch[];
    range: [number, number];
}

Properties

checkId: string

The id of the check where the document part belongs to.

externalContent?: ExternalContentMatch[]
range: [number, number]

A range are two numbers: A start offset and an end offset.