fix: hashtag id
This commit is contained in:
parent
30e4ef57df
commit
d386a2dbbe
5 changed files with 9 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
|||
import type { Account, Status } from 'masto'
|
||||
import type { Account, Status, Tag } from 'masto'
|
||||
import type { RouteLocation } from 'vue-router'
|
||||
|
||||
export type BuildResult<K extends keyof any, T> = {
|
||||
|
@ -10,7 +10,7 @@ export type BuildResult<K extends keyof any, T> = {
|
|||
href: string
|
||||
}
|
||||
}
|
||||
export type HashTagResult = BuildResult<'hashtag', any>
|
||||
export type HashTagResult = BuildResult<'hashtag', Tag>
|
||||
export type AccountResult = BuildResult<'account', Account>
|
||||
export type StatusResult = BuildResult<'status', Status>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue