TypeScript is a language that helps catch mistakes in JavaScript code by adding type annotations. It brings cool features like import attributes and stable support for resolution modes. TypeScript 5.3 also introduces narrowing capabilities for switch statements, comparisons to booleans, and instanceof checks. It optimizes JSDoc
Table of contents
What’s Fresh in TypeScript 5.3: Let’s Dive In!Import AttributesStable Support resolution-mode in Import Typesresolution-mode Supported in All Module Modesswitch (true) NarrowingNarrowing On Comparisons to Booleansinstanceof Narrowing Through Symbol.hasInstanceChecks for super Property Accesses on Instance FieldsSettings to Prefer type Auto-ImportsIn TypeScript 5.3, some more optimizations have been introduced:5 Comments
Sort: