DaffSearchResultCollection
A dictionary of search results keyed by the search result kind.
import { DaffSearchResultCollection } from '@daffodil/search'
type DaffSearchResultCollection<T extends DaffSearchResult = DaffSearchResult> = Record<T['kind'], T[]>
Type | Options |
---|---|
DaffSearchResultCollection | Record |