What is Typescript?
- Open source project with Microsoft's patronage
- Specially designed for small scripts
- Supports interfaces, classes & modules.
- Allows cross-compilation
- Added support for classes, interfaces, and modules
- TypeScript supports API Documentation and JS libraries.
- It is optionally typed scripting language
- Better code structuring and object-oriented programming techniques
- Allows better development time tool support
- It can extend the language beyond the standard decorators, async/await
- It was launched in September 1995, and It took just 10 days to develop this scripting language which was initially called Mocha
- ECMAScript 2 was released in 1998
- ECMAScript 3 was released in 1999
- Brendan Eich and Mozilla join ECMA to develop E4X Java script in 2005.
- CommonJS project was launched in January 2009 with the aim of defining a common standard library
- IECMAScript 5.1 was released in June 2011
- ECMAScript 2016 was released in June 2015
- The current version is ECMAScript 2017 which was released in June 2017
- Microsoft was launched TypeScript version 0.8 for public in October 2012
- TypeScript 0.9 was released in 2013.
- TypeScript 1.0 was released in 2014 which support generic.
- TypeScript came with new compiler in July 2014 which is five times faster than previous version
- TypeScript support for ES6 modules, namespace keyword, for, of support, decorators in July 2015
- Added features like key and lookup types mapped types, and rest in November 2016.
- Added features like conditional types, the improved key with intersection types supports in March 2018.
- Cross-platform language
- Used for client side and server-side applications
- Easy to learn.
- Dynamic language, powerful and flexible.
- Strong Testing Workflow
- Added Dependencies
- Framework Unsupported
- Offered great productivity for developers
- Code navigation and bug prevention
- Code 'discoverability' & refactoring
- Optional Static Type Annotation and Static Typing
- Additional Features for Functions
- Supports ES6
- Supports interfaces, sub-interfaces, classes, and subclasses
- Scalable HTML5 client-side development
- Rich IDE available(Visual Studio Code, Atom, WebStorm ect.) with autocomplete and code navigation features.
- Support Class-based object-oriented.