TypeScript 4.4 builds on JavaScript by adding syntax for static types. Types make your intentions explicit, and tools can read and understand them to catch errors. By checking your types, TypeScript can catch errors like typos, logic errors, and more. It also uses types to power editor tooling like accurate code-completion, go-to-definition, and renaming.
Table of contents
Control Flow Analysis of Aliased Conditions and DiscriminantsSymbol and Template String Pattern Index SignaturesDefaulting to the unknown Type in Catch Variables ( --useUnknownInCatchVariables )Exact Optional Property Types ( --exactOptionalPropertyTypes )static Blocks in Classestsc --help Updates and ImprovementsPerformance ImprovementsSpelling Suggestions for JavaScriptInlay HintsAuto-Imports Show True Paths in Completion ListsBreaking ChangesWhat’s Next?Sort: