Fix some nux types
This commit is contained in:
parent
9bb385a4dd
commit
c8b133863d
2 changed files with 7 additions and 6 deletions
|
@ -4,6 +4,4 @@ export type Data = Record<string, unknown> | undefined
|
|||
|
||||
export type BaseNux<
|
||||
T extends Pick<AppBskyActorDefs.Nux, 'id' | 'expiresAt'> & {data: Data},
|
||||
> = T & {
|
||||
completed: boolean
|
||||
}
|
||||
> = Pick<AppBskyActorDefs.Nux, 'id' | 'completed' | 'expiresAt'> & T
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue