
Episode 384: Boris Cherny on TypeScript
Software Engineering Radio - the podcast for professional software developers
00:00
Understanding Structural Typing in TypeScript
This chapter explores the concept of structural typing in TypeScript and contrasts it with nominal typing to showcase the language's flexibility. It discusses type refinement, union types, and the distinctions between interfaces and type aliases, highlighting their practical applications. Additionally, the chapter covers how TypeScript retains type functionality during runtime and the nuanced differences in defining structured parameters.
Transcript
Play full episode