Dive into hard-won TypeScript lessons and best practices drawn from Wix Engineering's real-world development experiences. In our latest Wix Engineering meetup, Matan Cohen and Ronen Amiel, shared key insights shaped by years of building and scaling TypeScript applications:
Type Testing Do We Really Need It? - Matan Cohen
This talk, by Matan, introduced the concept of type testing—a powerful yet often underutilized technique that helped prevent type-related bugs and aided in the creation of complex type definitions. Through this session, we learned how to implement type tests, understood why they were crucial, and discovered when you should prioritize them.
By the end of the talk, you left with a solid understanding of when, why, and how to write type tests, which gave you the confidence to improve your code’s type safety and ensured that your TypeScript types behaved as expected. Watch:
TypeSystem Shenanigans - Ronen Amiel
TypeScript's type system allowed us to catch bugs and errors in our code as we wrote it, instead of later on when the code ran. But... that was the obvious way to use the type system.
In that live coding session, Ronen pushed TypeScript's type system to its limits by implementing functions and logic purely on top of the type system: