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

SpellResult

import type { SpellResult } from "https://googleapis.deno.dev/v1/cloudsearch:v1.ts";
interface SpellResult {
suggestedQuery?: string;
suggestedQueryHtml?: SafeHtmlProto;
suggestionType?: "SUGGESTION_TYPE_UNSPECIFIED" | "NON_EMPTY_RESULTS_SPELL_SUGGESTION" | "ZERO_RESULTS_FULL_PAGE_REPLACEMENT";
}

§Properties

§
suggestedQuery?: string
[src]

The suggested spelling of the query.

§
suggestedQueryHtml?: SafeHtmlProto
[src]

The sanitized HTML representing the spell corrected query that can be used in the UI. This usually has language-specific tags to mark up parts of the query that are spell checked.

§
suggestionType?: "SUGGESTION_TYPE_UNSPECIFIED" | "NON_EMPTY_RESULTS_SPELL_SUGGESTION" | "ZERO_RESULTS_FULL_PAGE_REPLACEMENT"
[src]

Suggestion triggered for the current query.