TypeScript articles
Articles related to TypeScript features or type systems in general
- Testing
Nullable type narrowing in tests
Non-trivial integration tests in TypeScript projects might require us to use functions that return Nullable types, especially when asserting side effects. This might force us to use less that ideal solutions such as type assertions or type-check ignoring comments. However, there is much better and elegant solution which we'll explore in detail.
- CSS
The evolution of scalable CSS
The evolution of scalable CSS is a multi-part chronicle, intended to document the progress of tools and practices that enable us to write maintainable CSS at scale. It covers CSS scalability issues, CSS processors, essential good practices, methodologies, semantic and atomic CSS, styles encapsulation, CSS-in-JS, and type-safe CSS with Typescript.