generated from nhcarrigan/template
f0052cad76
Added explicit return type annotations (SuggestionActivity[], LikeActivity[], CommentActivity[], AchievementActivity[]) to all private activity service methods. This ensures TypeScript properly narrows the discriminated union types based on the ActivityType enum values, resolving compilation errors where the type system couldn't infer the specific activity subtypes. Also added type annotation to the async map callback in getLikeActivities to ensure the returned Promise resolves to the correct LikeActivity type. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>