TypeScript Setup for Node.js with VS Code & PM2

preview_player
Показать описание
TypeScript is a superset of JavaScript that provides optional static typing along with type inference. It also supports modern JavaScript features, which makes it similar to the Babel project.

This type annotation describes a range of values that a particular variable (or constant) can take, or a particular function can return. With TypeScript we can now explicitly specify the value constrains in our code. It leads to a stricter control, which is a good thing.

TypeScript not only allows us to specify type, but is also smart enough to guess the types based on how particular variable or function is used in the code - this feature is known as type inference.

TypeScript makes writing JavaScript more enjoyable. It reduces the probability of making typos while the type system constrains the area for mistakes.

We also simplified and sped up the development process by eliminating the need to switch between the editor and the terminal - everything is now in one place, directly accessible from VS Code.

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

This one in a million time when I appreciate someone or like somebody's work...

I am learning typescript and its really awesome. Keep it up buddy.

sourabhupadhyay
Автор

Glad to found this playlist! Great way to explain things (y) congrats teacher!

bF
Автор

Thanks for the series .. u gat a new subscriber!

davidfabian
Автор

Hey, you are awesome. Your knowledge is really really mind blowing.... The speed, focus and the right thing and really industry standard things...

sourabhupadhyay
Автор

Awesome video! Easily comprehensible! Thanks alot.

volkerreichel
Автор

if any one having a problem with tsc init
try to use tsc --init

AntonGFA
Автор

Do you have some difficulties with emacs+doom+tide to get it work (autocomplet, eldoc etc), that why you are using vscode? Or because VSCode is more convenient for most of people?

mateusztocha
Автор

wow man! what theme and terminal are you using? looks so cool!

louisgagarin
Автор

Love to see this Typescript environment. PS: what zsh theme are you using?

JonasDeVrient
Автор

What is that short cut key to get that bar for search...

chamodwijesena
Автор

Hi, mainly thank you for this tutorial. I would ask you something about PM2:
after installed it thourgh "npm install pm2 -D", if I try to run "pm2-dev app.js", it says that PM2 command doesn't exist. Could you help me with this problem? I notice that in all the documentations, this package is installed as global dependencies directly on the machine and not as a dev dependecies at project level?
How do I have to install it?

Thanks in advanced.

alessandropanarese
Автор

yes it works but when in the powershell i write http:3000 it does not work, it works only if i open the browser in localhost:3000

albertosalone
Автор

Is this playlist still current in 2024?

ZenTechnologist
Автор

No Emacs all of a sudden? Wth is this? Btw PureScript is a nicer language IMHO

ebn__
Автор

If you start hearing voices in your head that tell you you shouldn't use typed languages, you should immediately visit a psychiatrist to stop the onset of developing schizophrenia.

Fakheet
Автор

came in, saw light themed text editor, got out

mahditalebi
join shbcf.ru