what is use of typescript code example
Example 1: what is typescript
/* TypeScript is a programming language developed
and maintained by Microsoft.
It introduces additional features like strict type binding
(variables are bound to specific data types) to JavaScript.
*/
Example 2: why use typescript
/* TypeScript adds several additional features to JavaScript.
The most important one is strict typing.
*/