THIS is EASY TypeScript Setup in VSCode

preview_player
Показать описание
This is how to setup a TypeScript project for development and debugging in VSCode the easy way.

#typescript #vscode #nodejs

— — — — — — — — —

❤️ SUBSCRIBE TO MY YOUTUBE CHANNEL 📺

— — — — — — — — —

📱LET'S CONNECT ON SOCIAL MEDIA

----
00:00 Setting up Environment
00:37 Creating a New Project
01:21 NPM Init
01:36 Installing Typescript
02:06 tsconfig
02:56 Create Directories
03:22 Debugging in VS Code
04:08 Adding Chicken Class
05:14 Fixing ES Module Error
05:51 Customizing Launch Config
06:44 Typescript Watch Process
08:07 Running Build Task
Рекомендации по теме
Комментарии
Автор

Alex is the type of guy I would like to have as a coworker! 😂

vinicius
Автор

I spent my day, querying chatgpt and running around stack overflow, and watching YouTube videos to learn the compiling process, thanks man you are a life saver ❤

gokulambalavanan
Автор

Thank you very much for this video !!! I have been reading articles, forums and asking chatGPT the last 2 days to get my typescript app compile and execute using tsc, tsc-node, ... and playing with all possible options in the config files, without success and with your help, in 10 minutes, I have it working directly, and from VSC and with the integrated debugging support ! Thanks A LOT !

williamimbert
Автор

I was having a headache for the past 6 hours... what a painkiller you are man!
Thanks.

leooel
Автор

by the way, you can just initialize empty package.json with npm init -y where y basically says "yes".

yarn, pnpm also have similar functionality

sofiaknyazeva
Автор

This is exactly what I was looking for, thanks !

ukaszwosek
Автор

Love seeing true ninjas giving the real, straight forward and clearly explained answers. I have literally run into suggestions about kernel level and /usr/lib mods to get this exact same functionality. Thank you for a great - and VERY helpful video.

Jeff-ko
Автор

Alex, thanks so much, your video and explanation helped so much as I was getting up on Typescript.

I was reading the book Programming Typescript on p.14, on compiling and running, and he lost me. I'm so glad I found your video..🎉

GerryStilton
Автор

Hello sir,
I got errors in these steps:
> tsc --version
> tsc --init
It says Unauthorised Access
&
No further steps can be done unless these commands run successfully
Why is it so???

ryzexop
Автор

you just made it very easy to understand. thank you for this!

Renreal-yh
Автор

Typescript and node needs to get this module stuff figured out, it's a complete and utter mess

echobucket
Автор

AMAZING! The only explanation that worked for me... ty very much

lucastaonline
Автор

i spent 2 days trying to figure out how to do that. thanks a lot!

davidelmakias
Автор

I actually stopped learning TS after going through this hell. I picked up after 3 years and saw this video. viola! Thank you.

soloqVenu
Автор

Thank you for this! This saved me from so much hell starting to learn TypeScript.

jsg
Автор

You're a blessing man!!! fixed my headache

jugalo
Автор

Hahaha nice videos as always. Someone is in a good mood today 😂😂

bilalddev
Автор

Do I need to do this process every single time? Wich steps can I skip?

DesazMusicYt
Автор

What a god you are. The real MVP. Stay sharp!

michael_hackson_handle
Автор

wow this is some whole new way of doing it!

ZubairAhmed