TypeScript Basics 5 - Setting up TypeScript

preview_player
Показать описание

Let's set up our development environment to start using TypeScript. We'll set up NodeJS runtime, the code editor Visual Studio Code, and the Typescript compiler tsc

Learn about the basics of TypeScript. Understand how types work, how to use arrays and tuples, how to declare classes and interfaces. Understand concepts of type erasure, duck typing, enums, generics and modules. Create a development workflow and configure the TypeScript compiler to your needs. And watch as I build an end-to-end TypeScript application from scratch.
Рекомендации по теме
Комментарии
Автор

I recommend following him and setting up typescript as told as you need node and vs for any webDev,
but you could also use the playground on the official TypeScript website to just practice along with him and to get a better understanding!

arpandutta
Автор

Hi good one
I am using windows OS. I learned somewhere to run command like below to install typescript

C:\..>npm install -g typescript

but you have shown "npm install typescript -g"
what's the difference?

bhargavbeemagouni
Автор

I have written the typescript code the following. It is running in the browser and getting the output. Where is the typescrip to javascript compilation happens
class Customer{
constructor(name){
this.name = name;
}
getName(){
return this.name;
}
}
var customers = new Customer('sudhakar');
class Audience extends Customer{

}
var ads = new Audience('audience name');

sudhakard
Автор

How would I verify if typescript installed?

codewriter