Files
ComfyUI_frontend/docs
Alexander Brown ed63f4b225 docs: add type safety guidelines from as-any remediation
Lessons learned from purging 40 `as any` instances from browser_tests.

TypeScript guidance additions:
- Type assertion hierarchy (from virtuous to forbidden)
- Zod schema rules (no z.any(), no test settings in production)
- Public API contract preservation

Playwright guidance additions:
- Acceptable vs forbidden type assertion patterns
- Test-local type helpers pattern (e.g., TestSettingId)
- How to access internal store state without polluting APIs

Amp-Thread-ID: https://ampcode.com/threads/T-019c1833-2352-728b-a523-a8f440fd3ba1
Co-authored-by: Amp <amp@ampcode.com>
2026-02-01 02:49:16 -08:00
..
2026-01-27 17:59:19 -08:00