TypeScript's biggest advantage is the syntax for typed code. By following strict typing TypeScript's compiler can warn of errors before they occur at runtime. However, it can sometimes be difficult for the compiler to infer the exact type when writing general-purpose functions. In these cases, type guards can help, and we will learn how to program them.
Benny is directing the web development at South Pole, a consultancy that supports governments and organizations in reducing their environmental footprint. He is an active contributor to open source software, helped 29 million people on StackOverflow, and runs a YouTube channel about TypeScript.
Connect with Benny: https://twitter.com/bennycode
This talk has been recorded during the TypeScript Berlin Meetup #9. Join our Meetup group here: https://www.meetup.com/typescript-berlin/