
Upcoming
Live Coding: Eliminating Redundant Runtime Checks with Config as Code&Type in TypeScript
Workshop
In this workshop, we’ll explore how to manage application configurations directly in your Git repository and integrate them into the TypeScript type system. The goal is to make your code aware of the actual configuration at compile-time, reducing the need for runtime validation and unit tests.You'll discover:How to create lossless types for static dataTechniques to eliminate unnecessary code paths and reduce runtime validationHow to leverage utility types to extract specific information from configurationsKey TypeScript operators and how to handle common pitfalls when working with generic typesBest practices for improving type safety and developer experienceBy the end of this workshop, you'll have a solid understanding of how to implement Config as Code in your TypeScript projects, enhancing maintainability, type safety, and autocomplete support. This workshop is ideal for TypeScript developers looking to optimize their code and streamline configuration management.