Context
Follow-up from #1271
PR #1271 touches src/screens/kyc.screen.tsx. The Sumsub onMessage callback still takes payload: any. The type was already there; this PR did not introduce it. CONTRIBUTING.md still wants touched files reported, so this is tracked separately rather than blocking the pending-recommendation hint.
Evidence
src/screens/kyc.screen.tsx:1843 — onMessage={(type: string, payload: any) => {
Suggested direction
Replace any with a narrow Sumsub payload type (or unknown plus a type guard) before reading payload.reviewResult.
Acceptance
- No
any on the Sumsub onMessage callback
- The RED/FINAL and GREEN branches still type-check
Context
Follow-up from #1271
PR #1271 touches
src/screens/kyc.screen.tsx. The SumsubonMessagecallback still takespayload: any. The type was already there; this PR did not introduce it.CONTRIBUTING.mdstill wants touched files reported, so this is tracked separately rather than blocking the pending-recommendation hint.Evidence
src/screens/kyc.screen.tsx:1843—onMessage={(type: string, payload: any) => {Suggested direction
Replace
anywith a narrow Sumsub payload type (orunknownplus a type guard) before readingpayload.reviewResult.Acceptance
anyon the SumsubonMessagecallback