KamoCRM

Coerce deriveRelevance purpose to LoanPurpose | null

Fixkamo-internal
Shipped
9 ஜூலை, 2026 அன்று 6:16 PM UTC
Author
kamo
Commit
d7f3702

scenarioFromLeadFields' loanPurpose is LoanPurpose | null | undefined, but Relevance.purpose is LoanPurpose | null — the possible undefined failed the prod type check (next build) and blocked the CI build for all of main. `p ?? null` matches the declared type. Unblocks deploys; not part of the wallpaper work.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing