OOP with TypeScript: Initializing tsconfig

TypeScript
Transcript

English (Auto-generated)

the T. S. Conflict file. So how we do that Actually we're going to create the file manually by clicking there. But that is a really you know long method and it's gonna be it's it can be very really draining. So we just need to go there to the typescript typescript space. Opie and here we need to write the TSC. And what we were doing wrong is we were just writing I. N. I. T. But it needs you know two hyphens and then I. N. I. T. And then press the in Turkey. And once you do that the file is now being created. You can see that you know just go above and you can see that they created a new T. S. Conflict file with the target. Es 6 2000 and 16. So now we just got the um the latest version and then the you know the common Jason CDC. Everything is there. So now we just can make it go there and okay why you're having the problems man eventually leads you to find the debt. Mm It's not different def definitely assigned in the constructor. No problem. Yeah these you know in the according to the the T. S. Conflict. Now we have to go with a few more methods and we're going to talk about them later. No problem. But let's just bear with it for now anyway if I just simply delete that. I'm deleting that file and uh come on I'll select this violent. Delete that. Okay deleted. Yeah and I'm going there and now I need to write the TSC I do not need to mention the file name. It will automatically convert and it's giving me the errors too. And I know the errors because of the the the configuration according to configuration. We need a few things set up so he will do that. No problem. Type checking has to be strict. Okay. The simplicity. Okay I'm going there and now you can see that there is a class. Okay this class is different but you can see that there is a class but you know if you want you know the class is actually empty and you're assigning the class and then if you're creating everything outside of the class. No man, no problem. It's javascript. It is just doing its job. But you know in the modern javascript es six years, seven versions you get the class and this is how the classes works with the general java scripts just showing you away and regarding the errors. We will be talking about them later for now. We need to learn a lot before you know before covering these these things. So until then stay tuned
107 Views 0 Likes 0 Comments

We'll go over initializing our tsconfig file.

Comment
Leave a comment (supports markdown format)