( subscriptionData: Partial<SubscriptionData> | null | undefined )
| 167 | } |
| 168 | |
| 169 | export function canUpgrade( |
| 170 | subscriptionData: Partial<SubscriptionData> | null | undefined |
| 171 | ): boolean { |
| 172 | const status = getSubscriptionStatus(subscriptionData) |
| 173 | return isFree(status.plan) || isPro(status.plan) |
| 174 | } |
| 175 | |
| 176 | /** |
| 177 | * Get the appropriate filled pill color based on usage thresholds. |
nothing calls this directly
no test coverage detected