Setting up typescript
Transcript
English (Auto-generated)
So from this city we're going to talk about how we can install the compiler of typescript. So you do not need anything to install typescript itself, but absolutely, as you know that your browser just cannot understand typescript. So you need a compiler. So there is a way, I mean if you go with the with the download button, you do not need to be here by the way. There is just a method. So um there is a there are two ways. Absolutely, we're not going to go with the visual studio, we're not using that but in case you're doing with the um you know with the sp dot net applications, you can go with this one but we're going with the NPM anyway, so we need to install the Npm, the typescript um in our project or I think we're gonna do do it globally because I'm not a fan of you know um installing it in the in the specific folder or in the specific projects. So I mean it's up to you by the way. So we have a file which we do not need. I'm going to delete that. Okay, now let's just set up the the typescript globally. So absolutely, we need the NPM and you know, NPM comes with the no Js so you need to have the no Js node package manager. Uh no, just gives us the node package manager, the NPM and the NPM helps us installing many things like angular react and absolutely the the typescript compiler and a lot. So anyway, I'm gonna install it by now. I I I for install and then hyphen G for installing globally and then what we want to install. We want to install the typescript. Okay, now press the enter key or inter command and now it's installing the typescript. Okay? Change when packaging whatever. Actually we just got it and now we need to clear and now we need to check if we got the typescript. So T. S C Hyphen v. And then trust the anarchy again. And now. Okay, we got the version 5.4.5.5. So we've got it and now we absolutely, you know, I need to do something other than the installation. So we're going to do that in the next cast until then stay tuned.