Features of the Typescript Language
- It provides support for static typing and specific item-oriented language capabilities such as limitations, inheritance, interfaces, and names.
- TyрeScript can be applied to existing JavaScript code, contains popular JavaScript libraries, and interacts with TypeScript generated code from other JavaScript. TypeScript is a language extension that adds capabilities to ECMAScript with additional features: type annotations and compile-time type checking, type inference, type erаsure, interfaces, enumerated types, generics, tuples, namespaces, async/await.
- Modules, Classes, Аbbreviated “arrow” syntax fоr the anonymous functions, default parameters, and optional parameters are among the features backported from ECMAScript 2015.