diff --git a/src/state/queries/search-posts.ts b/src/state/queries/search-posts.ts index 8a8a3fa52f..7ecf239ef8 100644 --- a/src/state/queries/search-posts.ts +++ b/src/state/queries/search-posts.ts @@ -174,7 +174,10 @@ export function* findAllPostsInQueryData( export function* findAllProfilesInQueryData( queryClient: QueryClient, did: string, -): Generator { +): Generator< + AppBskyActorDefs.ProfileView | AppBskyActorDefs.ProfileViewBasic, + undefined +> { const queryDatas = queryClient.getQueriesData< InfiniteData >({