Rank by risk (external boundary types first). For each: model the real shape
作者:promptpacks发布日期:2026-09-21观看:24
01/ 01
with a discriminated union / schema validation (zod/pydantic) at the boundary; internal code stays pure types. Replace assertions with narrowing/guards.
自动翻译
自动翻译中…