TypeScript Type Safety Overview Zero tolerance for types. Every is a runtime bug waiting to happen. Replace with proper types using interfaces, with type guards, or generic constraints. Use with explanation only when absolutely necessary. When to Use Use when you see: - in function parameters or return types - type assertions - TypeScript errors you're tempted to ignore - External libraries without proper types - Catch blocks with implicit Don't use for: - Already properly typed code - Third-party files (contribute upstream instead) Type Safety Hierarchy Prefer in this order: 1. Explicit inte…