All files with code samples can be found in ./code-examples
TypeScript 4.1 was a minor release, but it bring one of biggest revelations in the language.
It introduced Template Literal types. I assume that you saw crazy examples with parsers, or SQL engine working pure on type system. Thats totally cool, but it doesn't answer the question - why would YOU use it, and who actually need it.
This short talk focuses on what Template Literal Types are, and what are more real use cases for them.
During one of the presentations I got a question about tracing compiler operations and measuring its performance.
A: You can do it! There are even ready to use tools from TypeScript team - @typescript/analyze-trace`
More info on that:
This article compares runtime validators performance - you will find great example of usage of
For checking the traces you can use ui.perfetto.dev