SuggestResult type

A result containing a document found by a suggestion query, plus associated metadata.

type SuggestResult<TModel, TFields> = {
  document: SuggestNarrowedModel<TModel, TFields>
  text: string
}