Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

TextWithHighlights

import type { TextWithHighlights } from "https://aws-api.deno.dev/v0.3/services/kendra.ts?docs=full";

Provides text and information about where to highlight the text.

interface TextWithHighlights {
Highlights?: Highlight[] | null;
Text?: string | null;
}

§Properties

§
Highlights?: Highlight[] | null
[src]

The beginning and end of the text that should be highlighted.

§
Text?: string | null
[src]

The text to display to the user.