From 3cb41fb81fc3bd7aaf2ebcb4179e8c8728a7c438 Mon Sep 17 00:00:00 2001 From: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com> Date: Tue, 9 Dec 2025 10:56:31 -0500 Subject: [PATCH] style: Add explicit Tier type to tiers find callback Specifies the Tier type in the find callback for config.tiers to improve type safety and clarity. --- src/configs/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/configs/index.ts b/src/configs/index.ts index 5688c18..537cd20 100644 --- a/src/configs/index.ts +++ b/src/configs/index.ts @@ -33,7 +33,7 @@ export async function loadConfig(inlineConfig: ContribkitConfig = {}): Promise tier && tier.monthlyDollars! <= 0) + const hasNegativeTier = !!config.tiers?.find((tier: Tier) => tier && tier.monthlyDollars! <= 0) const resolved = { fallbackAvatar: FALLBACK_AVATAR,