Skip to content

Replace 'any' types in referral utility functions #152

@Mosas2000

Description

@Mosas2000

Description

The referral utility functions use any type for stats parameter in formatAffiliateStats.

File: frontend/src/utils/referralUtils.ts (line 76)

Impact

Reduces type safety in referral statistics formatting.

Solution

Define proper AffiliateStats interface and use it instead of any.

Priority

🟡 HIGH

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions