TypeScript

Elentra JS 2.0 is written primarily in TypeScript, which is a superset of JavaScript that provides numerous useful features, including but not limited to static typing, classes, and interfaces. The static typing that TypeScript provides ensures that many potential run-time errors are detected, discovered, and highlighted right in the developer's IDE as they work, allowing them to fix them right away. TypeScript is developed by Microsoft and as such it is very well documented and supported, and will be for years to come. The well-established nature of the language, as well as its popularity with developers have generated a large array of resources and documentation online, making it easy to pick up and learn.

Our switch to TypeScript grants us the ability to explicitly define the typing for the data we work with in our front-end framework, and have on-the-fly automated processes ensure we are adhering to those expectations. This will streamline the quality assurance process and result in more easily understandable, higher quality code, which in turn greatly reduces technical debt.

Last updated