TypeScript2 min readType-Level Testing + Public API Design (Library Author Mindset)How to keep TypeScript APIs stable: test your types, design exports intentionally, and avoid leaking internals that you can’t maintain.#API Design#InterviewsMar 01, 2026Practice
TypeScript2 min readunknown → Safe Types: Runtime Validation PatternsStop lying with `as`. Learn production patterns to convert unknown data (fetch, localStorage, env) into safe TypeScript types with guards and assertions.#Interviews#API DesignMar 01, 2026Practice