Working with TypeScript in Visual Studio Code

preview_player
Показать описание
TypeScript and Visual Studio Code are two amazing products created by Microsoft, and **surprise surprise** they work amazing together! In this video, I'll show you how Visual Studio Code makes it a breeze to work with and configure TypeScript!

Microsoft Dev Collective

### Website

### Course Links

### Subscribe to the Learn.Build.Teach. Newsletter

### Social Media

### Website

### Subscribe to the Learn.Build.Teach. Newsletter

### Social Media
Рекомендации по теме
Комментарии
Автор

Thanks for the tip about "Microsoft Dev Collective"

andybiersack
Автор

I was expecting to find out if I really need to compile that ts manually, and how to make it compile automatically.

Автор

James, this video is good to understand the typescript for beginners. Perfect!!!

vinodjain
Автор

Thank you so much for this video. It was a big help!

aprilg.
Автор

I love JavaScript and all it's quirks. However I'm glad that TypeScript exists and hope to see wider adoption this year. My experience is the opposite of yours since I started coding in JavaScript 😂

I learned PHP way back and Java but it never sparked as much interest. Web development is so much more exciting today—but could use less boilerplate downloading the entire internet when making a new project (looking at you React 👀).

Apologies for the long comment, congrats on your sponsorship! 🎉

mattcroat
Автор

completely unintended, but this was a better tutorial of typescript in general than anything else out there, even in late 2019

MrHamncheez
Автор

sir while compiling, this error :-
tsc : File cannot be loaded because running scripts is disabled on this system. For more information, see
about_Execution_Policies at
At line:1 char:1
+ tsc hello-world.ts
+ ~~~
+ CategoryInfo : SecurityError: (:) [], PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess...
what's wrong ????

versatileakash
Автор

Runtime error. I made the misread&mistake of running
*node app.ts*
Need to run
*node app.js*

valamaas
Автор

Just getting started with Typescript and VSC, so far so good.

pixzelplethora
Автор

'tsc' is not recognized as an internal or external command,
operable program or batch file.

By the way. i typed npm install -g typescript
I came acrross such a error, is there anyone to help me ?

ahmetozturk
Автор

i have a problem on a large react project, the tsserver uses a lot of memory and slowing down vscode

hanggianggono
Автор

In most of the TS projects out there, the project has a .vscode folder which in turn has launch.json and tasks.json. Not sure how they are created. VS Code is very different compared to Visual Studio in creating projects and solutions. Is there a site or link which describes how to create a TS project in VS Code?

ramganapathy
Автор

It would be better to separate the Typescript language features from the setup thematically.
It would also have been good to explain the setup for debugging, so the complete setup. Is it best to debug the javascript code or is it also possible in the .ts file?

stefannolte
Автор

I think most people will meet some error when run command: tsc
how to fixed:
Run visual studio as administrator then run command:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned

Luan-flip