TypeScript My First Code

create file name: index.ts as below save the file and run the below command: it will compile the typescript file to JavaScript and generate below file as index.js to see output run JavaScript file with below command : Output: Hello, I am Shrikant and my age is: 30

TypeScript Introduction

What is Typescript ? Prerequisites To start learning typescript, one should have understanding of below concept: Why TypeScript ? TypeScript is mostly used in real-world applications for its benefits over plain JavaScript. Some of these benefits include: In summarise, TypeScript is a popular language for building large-scale, maintainable, and scalable applications, and is widely used …

TypeScript Introduction Read More »

Scroll to Top