From bdd8a0f3796cc82aee64ce16f6f86a6f2b6507e3 Mon Sep 17 00:00:00 2001 From: veloii <85405932+veloii@users.noreply.github.com> Date: Wed, 29 May 2024 21:44:14 +0100 Subject: [PATCH] types: refine purchased_count to string | 0 --- src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types.ts b/src/types.ts index b0a8389..89f52f5 100644 --- a/src/types.ts +++ b/src/types.ts @@ -488,7 +488,7 @@ export type RewardsData = { unable_to_purchase_reason: string; once_per_pupil: boolean; purchased: boolean; - purchased_count: string | number; + purchased_count: string | 0; price_balance_difference: number; }[];