elk/components/search/types.ts
2022-12-17 22:35:07 +01:00

12 lines
214 B
TypeScript

import type { Account } from 'masto'
export interface SearchResult {
type: 'account' | 'hashtag' | 'action'
to: string
label?: string
account?: Account
hashtag?: any
action?: {
label: string
}
}