Description
TypeScript’s relevance in modern web development is undisputed. The tooling focus and the strong, but flexible type system help us to formalise and articulate even the strangest scenarios that JavaScript can offer. There’s just one problem: TypeScript is woefully incomplete!
In this talk, we will focus on patterns that are not that uncommon in JavaScript, but hard, sometimes even impossible to type! This includes obscure features from pre ES5 days to recent ones, like EcmaScript decorators! But hey, every programming language has its holes, we just need to find solutions on how to deal with them.
Key Takeaways
TypeScript’s type system is incomplete and will most like always be incomplete
There are methods how we can influence certain types, but they don’t always hold
Anticipating incomplete types early on helps!
About Stefan
Stefan Baumgartner is an architect and developer based in Austria. He is the author of "TypeScript in 50 Lessons" (Smashing Magazine, 2020) and "The TypeScript Cookbook" (O'Reilly, 2023).
In his spare time, he organizes ScriptConf and Rust Linz. Stefan enjoys Italian food, Belgian beer, and British vinyl records.