Skip to main content

5 NEW Features in TypeScript 5.5

In this video CJ shows 5 of his favorite new features coming to TypeScript 5.5


00:00 Intro
00:09 Inferred Type Predicates
01:10 Improved Indexed Access
02:30 Type Imports in JSDoc
03:12 New Set Methods
03:49 configDir Template Variable
04:39 When can I use this?

5.5 RC Announcement | https://devblogs.microsoft.com/typescript/announcing-typescript-5-5-rc/ TypeScript Type Predicates | https://www.typescriptlang.org/docs/handbook/2/narrowing.html#using-type-predicates Control flow analysis for element access with variable index| https://github.com/microsoft/TypeScript/pull/57847

TC39 Proposal Set Methods | https://github.com/tc39/proposal-set-methods Set Methods on MDS | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set

TypeScript 5.5 Iteration Plan | https://github.com/microsoft/TypeScript/issues/57475