What is TypeScript?
Project based on open source software that is supported by Microsoft
Instrument developed specifically for use with shorter scripts
Supports classes, interfaces & modules.
Cross-compilation is supported.
Provides assistance with classes, interfaces, and modules.
Why do we use TypeScript?
TypeScript supports JS libraries & API Documentation
It is a scripting language that can be typed in or not.
Methods of programming that are more object-oriented and have improved code organisation
Allows for improved tool support during the development time
It is able to enhance the capabilities of the language beyond the typical decorators and async/await.
It was first distributed to the public in September of 1995, and the development of this electronic scripting language, which was at first referred to as Mocha, took only ten days.
In 1998, ECMAScript 2 was made available to the public.
1999 saw the release of ECMAScript version 3.
|Powerful type system, including generics & JS features
|Lightweight, interpreted, object-oriented language with first-class functions
|TypeScript uses concepts like types and interfaces to describe data being used.
|With Typescript, many npm packages either come with static type definitions or have an external one that is easy to install.
|Stiff learning curve. Requires prior scripting knowledge.
|Flexible and easy to learn, scripting language.
|Typescript has a feature of prototyping.
|Typescript does not have a large community of developers.
|TypeScript code needs to be compiled
|To get the most out of TypeScript features, developers should constantly annotate their code.
|Famous Company using the Technology
|Asana, Clever, Screen award
|Airbnb, Codecademy, Instagram
|The average salary for “Typescript developer” ranges from approximately $148,027 per year in United States
2005 is the year that Eich and Mozilla become members of ECMA and begin work on the E4X Java script.
The CommonJS project was initiated in January 2009 with the purpose of developing a common standard library.
In June of 2011, ECMAScript 5.1 was made available for public use. ECMAScript 2016 has been made available.
The most recent version, ECMAScript 2017, was made available for download in June of 2017.
The following are significant turning points in the history of TypeScript:
After two years of internal development at Microsoft, the typescript was made available to the public for the very first time in the year 2012. TypeScript 0.9 was made available to the public in 2013.
Additional assistance for generic products Build 2014 saw the release of TypeScript version 1.0.
A brand new TypeScript compiler was released in July of 2014, and it is five times faster than the one that came before it.
Support for ES6 modules, namespace keywords, for, of support, and decorators was introduced in July of 2015.
In November of 2016, an additional functionality such as key and lookup types mapping types, and rest was implemented.
Typescript was updated on March 27, 2018, to include support for conditional types as well as better key with intersection type support.
It’s a language that works on multiple platforms, and it’s utilised both on the client side and the server side.
It’s simple to pick up and use from the get-go.
It is a dynamic language that is both adaptable and potent.
You have “the tremendous freedom” to do anything you want with any object. There are no restrictions.
Dependencies were added as a result of the rigorous testing workflow.
Lack of Support for the Framework
Characteristics of the Maintainability of Typescript
History of TypeScript
Provided excellent levels of productivity for programmers
Code navigation and the elimination of errors
“Discoverability” of source code and refactoring
Optional Annotation of Static Type / Typing of Static Type
Added Functionality to the Features of the Functions
Supports The ES6 programming language has support for interfaces, sub-interfaces, classes, and subclasses.
Scalable HTML5 client-side development
Full-featured integrated development environment (IDE) with support for autocomplete and code navigation.
Object-oriented, class-based programming with the ability to inherit both private members and interfaces.