Revision Sheet
UI Contracts
React props are public APIs; model children, variants, callbacks, refs, and generics so invalid UI combinations are hard to express.
Runtime Boundaries
Forms and APIs need runtime validation because TypeScript cannot prove user input or network JSON.
Architecture
A senior TypeScript system combines strict config, readable utilities, typed errors, validation boundaries, CI checks, and migration discipline.