PassioSearchResult

Interface representing the structure of a Passio search result

AttributeDescription

results

Property for an array of FoodSearchResult objects or null.

alternatives

Property for an array of alternative strings or null.

// Interface representing the structure of a Passio search result
export interface PassioSearchResult {
  // Property for an array of FoodSearchResult objects or null
  results: FoodSearchResult[] | null
  // Property for an array of alternative strings or null
  alternatives?: string[] | null
}

Last updated