Learn TypeScript in 50 Minutes - Tutorial for Beginners

Поділитися
Вставка
  • Опубліковано 22 сер 2024
  • 📘 Courses - learn.codevolu...
    💖 Support UPI - support.codevo...
    💖 Support PayPal - www.paypal.me/...
    💾 Github - github.com/gop...
    📱 Follow Codevolution
    + Twitter - / codevolutionweb
    + Facebook - / codevolutionweb
    📫 Business - codevolution.business@gmail.com
    TypeScript is an open-source programming language developed and maintained by Microsoft. It is a strict syntactical superset of JavaScript, and adds optional static typing to the language. In this typescript tutorial for beginners, we go over the fundamental concepts like variable declarations, variable types, functions, interfaces, classes and access modifiers.
    TypeScript | TypeScript Tutorial | TypeScript Tutorial for Beginners

КОМЕНТАРІ • 566

  • @saramohammed9984
    @saramohammed9984 4 роки тому +248

    00:40 what and why typescript
    3:55 Environment setup
    9:38 Variable Declarations
    12:16 Variable Types
    30:30 Functions
    35:35 Interface
    39:45 Class and Access Modifier

  • @simonkalu
    @simonkalu 5 років тому +125

    Vishwas is grounded in programming topics and also he's explanations are clear and concise. Keep doing what you do best

  • @lightyearahead
    @lightyearahead 3 роки тому +41

    "Manager is just an employee with some extra privileges"
    - Codevolution
    Nice analogy.

  • @christopherreffell147
    @christopherreffell147 4 роки тому +31

    Vishwas you are a blessing man, I will not disappoint your knowledge. I live in Freetown Sierra Leone a small country in West Africa, If i become a better programmer at Typescript and Angular much credit to you man. Your explanations are just too precise for any student to understand.
    Blessings man!!!!!!!!

    • @soaleahmuhammadkhan15
      @soaleahmuhammadkhan15 4 роки тому +2

      Hi @
      Christopher Reffell Hope you are doing fine. I have started learning typescript and node. I have been watching many tutorials but I am stuck at the beginner level and can't seem to find a way to upper level. It would be very nice if you could give me advice or point me in a direction that is good.

    • @christopherreffell147
      @christopherreffell147 4 роки тому

      @@soaleahmuhammadkhan15 code evolution could help u greatly

    • @rajuy18
      @rajuy18 3 роки тому

      Hi @christopher, hope you're doing well, may I know if you're doing any freelancing work related to web development?

  • @jamesodowd9392
    @jamesodowd9392 3 роки тому +16

    A truly excellent tutorial. I followed along and made notes throughout. Perfect speed, beautifully simple examples and I never felt lost. This tutorial filled in many of the gaps I've been getting learning Angular.

  • @VarghaHokmran
    @VarghaHokmran 5 років тому +12

    That's how you do a crash course. Touched all the basics, but nothing unnecessary. What a great tutorial. Thank you sir!

  • @MusingMusic07
    @MusingMusic07 5 років тому +28

    just wow.. understanding concepts never been so easier before.. thank you vishwas you have no idea you have helped me n many others immensely .i wanna thank you for your efforts for creating such beautiful series.. love your skills ...Please keep up the good work.

    • @rajuy18
      @rajuy18 3 роки тому +1

      Hi @Anshuti, hope you're doing well, may I know if you're doing any freelancing work related to web development?

    • @Dontmesswithmeplease
      @Dontmesswithmeplease 2 роки тому +1

      @@rajuy18 kyu puch raha hai

  • @ishaghiria2446
    @ishaghiria2446 4 роки тому +8

    For anyone getting an error at 6:28 because on compiling the Typescript code i.e. tsc main.ts , you are getting an empty main.js file, just save the main.ts file before executing the tsc main.ts command, by going on File->Save. It is only after saving that a successful compilation can take place. :)

  • @samirmishra9946
    @samirmishra9946 Рік тому +2

    I remember 3 years ago when I knew nothing about coding and wanted to learn Python and TypeScript. I directly watched this video first and understood nothing about TypeScript :D or maybe a little basics?
    Fast forward today...I am now coding react projects in TypeScript and even made a hackathon winning react project in TS! TS is so great, I cannot think of going back coding a project in JavaScript!
    Thank you very much for this basics video. I occassionally come here to revise the basics. 💖💖

  • @nikhiltalokar6000
    @nikhiltalokar6000 3 місяці тому +1

    Hats off to Vishwas Sir…! I just learnt the basis of Typescript in 48 minutes. The way of your teaching is mind blowing. It is very concise and straight to the point without any time waste with perfect understanding and focus. I am following your ReactJs tutorial as well even though it is 3 years old for learning react and getting a new job in Frontend end development. Thanking you from bottom of my heart… Keep it up and post all the courses tutorials on this channel. We will support you in all way and hope will reach 1 M subscribers as soon as possible…

  • @sandeepamarnath3591
    @sandeepamarnath3591 2 роки тому +5

    Definitely one of the best teachers out there. You're really an awesome tutor Vishwas. You know how to teach stuff in the easy way possible. I wish I had a teacher like you in my school. And by the way, this is one of the best TypeScript tutorials out there. I recommend, to someone who wants to learn anything, then first check if Codevolution has videos on that. If you get the videos then you're lucky!!

  • @timothyvandyke9511
    @timothyvandyke9511 5 років тому +22

    OMG TypeScript is probably my new favorite language

  • @stevekoch1216
    @stevekoch1216 3 роки тому +2

    Excellent! I had a little problem with his pronunciation at first but his presentation was clear and well organized, love the easy to understand examples.

  • @abhishekverma614
    @abhishekverma614 3 роки тому +1

    Could not express my feeling after watching your tutorials. Just wanted to say, you are always precise to the point of what the viewer expects.

  • @JohnnyMcGully
    @JohnnyMcGully 4 роки тому +12

    This was extremely valuable! Thank you for this condensed tutorial. Lots of great information.

  • @bernarduslopez7074
    @bernarduslopez7074 3 роки тому

    I think if someone never coded with TS but knows JS, that person could write code with TS right away by only studying from this video. Surely one of the best intro on the topic.
    ⭐⭐⭐⭐⭐

  • @murat6018
    @murat6018 2 роки тому

    I have an interview tomorrow, the company uses TS. I told them I don't know much about it but would love to learn ofc. I write typescript beginner tutorial on youtube search and Vishvas comes along. I learned most of my React knowledge from him.
    I'm just happy that this video exists.

  • @RaghavKhullar
    @RaghavKhullar 4 роки тому +6

    You've made Typescript so much easier than other tutorials 🔥 Definitely helpful !

  • @softwareabbayiAPJ
    @softwareabbayiAPJ Рік тому +2

    Done Typescript Essentials. Heading towards React Typescript 🏊🏊🏊 Thanks Vishwas ❤️

  • @sallerc
    @sallerc 4 роки тому +4

    Great tutorial, thank you Vishwas! Must say as a C# programmer that I am a lot more exited about client side web development now since I discovered TypeScript.

  • @winvirus32
    @winvirus32 5 років тому +12

    I watched this at 2x speed and was still 100% comprehensive. Great overview of TS

  • @SathishKumar-zo3dw
    @SathishKumar-zo3dw 3 роки тому +1

    Super Awesome beginner tutorial for TS. Never seen such super simplified explanation in any UA-cam Course, which i had gone through till now(more than 10). Thanks for your Support to help others. Keep upthe momemtum growing.

  • @MrRajendrapatnaik
    @MrRajendrapatnaik 5 років тому +17

    Simple i say WOW and Thanks a lot for such clear crystal explanation, a layman also can understand, simple and superb for beginners to learn.

  • @HeatherRichardsonPhoto
    @HeatherRichardsonPhoto 5 років тому +575

    *Speeds video up to learn TypeScript in 25 minutes*

    • @VijayKoushik_aka_moon01man
      @VijayKoushik_aka_moon01man 5 років тому +13

      Thanks! I learnt it in half the time

    • @the514
      @the514 4 роки тому +65

      If you change the resolution to 720p, you acquire twice the amount of knowledge

    • @stabMyFaceOff
      @stabMyFaceOff 4 роки тому +5

      yeah it super audible at 1.5 speed

    • @lodashnotebook5390
      @lodashnotebook5390 4 роки тому +11

      @@the514 Legend has it that someone changed it to 144p and till this date he is still learning TypeScript.

    • @SACHIN-gd6zy
      @SACHIN-gd6zy 4 роки тому

      Thanks Boomer !

  • @shane_taylor
    @shane_taylor 2 роки тому +1

    One of the better beginner videos I've seen. Thank you for clear and concise presentation without a lot of distraction. New subscriber here.

  • @stefangabor5985
    @stefangabor5985 4 роки тому +3

    love it. Finally, someone put some structure into the madness of JavaScript. Now, it seems more like a modern programming language.
    Thanks, to Microsoft for creating it and to Google for using it in their Angular development. Great job by the way in your presentation!

  • @powerupthemachine9241
    @powerupthemachine9241 5 років тому +1

    Man thank you so much. You have helped me understand sooooo many issues I had in previous languages that drove me crazy. You didn't go too fast, and you explained everything perfectly with SIMPLE examples. Thanks again. A lot of people teach code like they are trying to show off how fast they can type, leaving me constantly having to rewind instead of pay attention. Thanks Bro. New Sub.

  • @michaelskurla1738
    @michaelskurla1738 5 років тому +2

    Really well done. Quick and to the point Intoduction to base features. No nonsense or going off the rails Into overly complex topics. Thanks!

  • @wackyburkay
    @wackyburkay 5 років тому +35

    For people who can't assign "null" and "undefined" to other types:
    In your tsconfig.json or tsc arguments, you have to disable "strictNullChecks".

    • @Tout-Le-Monde02
      @Tout-Le-Monde02 4 роки тому +2

      that's the most stupid suggestion in this comment section ..... a sure way to having null related issues in the run-time .....

    • @derHodrig
      @derHodrig 4 роки тому +1

      ​@@Tout-Le-Monde02 thats what I thought. Is TS not known for its stricly correctness of type safetyness?

    • @kb_dev
      @kb_dev 4 роки тому +1

      Never do this.

  • @AlSlonex123
    @AlSlonex123 Рік тому

    Great intro. This things I'm missing as Java developer is
    1. explaining instanceof and why instanceof works with classes but not with interfaces.
    2. explaining type gurads in bit more detailed way: like what is "is" keyword in "obj is {name: string}" @25:00, double negation "!!obj"
    3. why typeGuard at @25:00 has return type "obj is {name: string}" instead of boolean
    4. how compiler knows that type guard is a type guard and not just a random boolean method in "if(hasName(myVariable))" construct @26:00
    Other then that the cause is awesome for java devs who want to jump into TS.

  • @aravind4444
    @aravind4444 4 роки тому

    my goal is to learn aws-cdk, which need typescript, been watching few videos and reading docs, me with little knowledge of programming, not able to pick things easily, i must say for anyone who is new to programming and typescript this video is just awesome.

  • @kartikeyporwal3539
    @kartikeyporwal3539 4 роки тому +8

    I have got this Vishwas to learn TS so easily even when I am a python develper! Thank you for such an amazing intro.

    • @gauravsingh-qt2zo
      @gauravsingh-qt2zo 3 роки тому

      Sir will u help me in solving some problems in python???

    • @kartikeyporwal3539
      @kartikeyporwal3539 3 роки тому +1

      @@gauravsingh-qt2zo what problems are you having?

  • @Funkfreed
    @Funkfreed 5 років тому

    I clicked the ad even though I'm not interested since I want to help your channel. I also subscribed because you are awesome. Clear and concise.

  • @abonoah-3495
    @abonoah-3495 3 роки тому +3

    Let and Const are variables declaration for ES6, not a feature in TypeScript as you mentioned in the Variable Declarations section.

  • @user-mo3cw6go7c
    @user-mo3cw6go7c 3 роки тому

    As usual he went straight to the point, without unnecessary additions

  • @AmmarTaicho
    @AmmarTaicho 3 роки тому +1

    One of the greatest crash course ever!
    Thank you very much

  • @SamButlerUK
    @SamButlerUK 5 років тому +2

    Really good tutorial, I paused a few times so it did take longer than 50min, and Visual Studio for Mac doesn't seem to support the any type, but the tutorial was easy to follow and I genuinely learned something.

  • @prashantio
    @prashantio 6 років тому +12

    Thanks for putting together all the info. Appreciate your efforts!

    • @rajuy18
      @rajuy18 3 роки тому

      Hi @Prashanth, hope you're doing well, may I know if you're doing any freelancing work related to web development?

    • @prashantio
      @prashantio 3 роки тому

      Hi@@rajuy18,
      Thanks for asking but I am not into freelance development.

    • @rajuy18
      @rajuy18 3 роки тому

      @@prashantio okay thank you

  • @MichaelJClegg
    @MichaelJClegg 4 роки тому +1

    Please note that ES6, const and let keywords allow us to declare variables in the block scope!

  • @thanseeft2809
    @thanseeft2809 3 роки тому

    One of the best tutor ever. Always it will be simple and more understanding to beginers.

  • @naveenroy9932
    @naveenroy9932 5 років тому +5

    That's a very very nice tutorial of typescript ... well done you cover very important parts of a language......... It's Awesome, I got grace, thank you.

  • @assassinator3747
    @assassinator3747 4 роки тому

    for those who cant see output "hello world".you need to create another file name"tsconfig.json" and add this code->>{
    "compilerOptions": {
    "target": "es5",
    "module": "commonjs",
    "sourceMap": true
    }
    }
    and save it, then it works

  • @maxmix909
    @maxmix909 3 роки тому +1

    Very good. Simple and direct to the point! Thanks a lot!

  • @Pieparker
    @Pieparker 5 років тому +3

    Absolutely cracking video. Great work, Vishwas!

  • @milad8436
    @milad8436 3 роки тому

    One of the best channels on UA-cam. Thank you for making it easy

  • @Dev11792
    @Dev11792 3 роки тому

    The way you explained the TypeScript is superb. Best explanatory tutorial for beginners. i got lots of additional topics revised. Thank you buddy

  • @sunilkumarssak
    @sunilkumarssak 3 роки тому +1

    Much love to the content and the presentation technique ! Going through the react videos and enjoying them! Kudos Vishwas

  • @shreyashachoudhary480
    @shreyashachoudhary480 2 роки тому +1

    Really amazing tutorial, with no js prerequisite.

  • @AkshayGupta108
    @AkshayGupta108 Рік тому +1

    Hey Vishwas, your videos are very helpful.. thank you.. question regarding null and undefined type... you mentioned that they are considered as subtype and you assigned null to boolean type variable and undefined to string type variable... that is not clear.. plz can explain..

  •  3 роки тому +1

    Typescript and Java classes are so similar. 😊 Thanks for the tutorial, sir. 🙏🏽

  • @fossfreaks
    @fossfreaks 4 роки тому +1

    Tutorial starts at 5:03 , you are welcome

  • @ankurgupta4696
    @ankurgupta4696 2 роки тому +1

    Very nicely explained as always, i always refer to your tutorials for learning anything related to frontend developement, you are awesome

  • @shyama5612
    @shyama5612 4 роки тому +1

    Vishwas, great explanation. Thanks for taking the time to create this video. Keep up the good work!

  • @ashokjeyaraj4160
    @ashokjeyaraj4160 5 років тому +1

    Hi Vishwas, Your tutorials are very helpful to me. I like your teaching style and the short videos focusing on one concept at a time. The way you teach is great!. Thanks a lot.

  • @sureshmg6786
    @sureshmg6786 4 роки тому +1

    This is my step in learning Typescript, and this your way of explaining helps me to understand very well man 👌👏.
    Thank you very much Vishwas! Very helpful!

  • @francismagnusson378
    @francismagnusson378 4 роки тому

    So cool how you were able to fit most of the topics in a one-hour video! thanks man!

  • @animegirl2000
    @animegirl2000 4 роки тому

    Coming in with no programming experience, this video is very useful. Thank you :)

  • @YeswanthG
    @YeswanthG Рік тому

    Wow ....nice this was a great tutorial not even one person explained like you.thanking you sir

  • @mohamedwasim3686
    @mohamedwasim3686 2 роки тому

    Bro, you deserve a better place in heaven. Thank you so much. May God bless you!

  • @gmoonster2
    @gmoonster2 3 роки тому

    Very well done. Clear, to the point, good examples! I feel I now have a decent grasp of TypeScript after watching this video.

  • @mohitsingh5752
    @mohitsingh5752 3 роки тому

    Thank You for this Quick and Helpful TypeScript guide !!👍👍

  • @syedroushan2436
    @syedroushan2436 3 роки тому

    Very Clearly explained, this video alone is enough to get started with Typescript. Thank You.

  • @ItzBreakfast
    @ItzBreakfast 3 роки тому +2

    14:34 What? its impossible! This is really crazy language i think. I love it

  • @timothyoyoo6874
    @timothyoyoo6874 7 місяців тому

    This was a great tutorial , fast and precise enough.

  • @ramkumars8654
    @ramkumars8654 4 роки тому

    appreciate the way the topics are categorised and presented. thank you very much

  • @imtiazkabir6115
    @imtiazkabir6115 4 роки тому

    Very clear understandings with clear voice, thanks a lot. I've shared this video on my social network.

  • @alstermediamoingmbh7486
    @alstermediamoingmbh7486 2 роки тому

    perfect explanations, step by step and easy to understand. Thank you Vishwas!

  • @babajidebantale
    @babajidebantale 5 років тому +1

    A good start for my typescript learning pathway. Thanks for this

  • @carlosm.1233
    @carlosm.1233 5 років тому

    1. Thank you very much for your effort. You are doing the lord's work :)
    2.(Note) I just figured out that you don't need to compile typescript to plain javaScript in order to run the file. I just typed 'node main.ts' and that worked :).

  • @udaranayana8305
    @udaranayana8305 Рік тому

    the last 10 minutes taught me OOP concepts better than my entire year at campus

  • @lalithajamithireddy9761
    @lalithajamithireddy9761 5 років тому +1

    Clear cut explanation. Very helpful to the beginners. Thank you

  • @godsword4516
    @godsword4516 4 роки тому +1

    Hey, it's a very nice tutorial for beginners. Easy to understand. Simple and precise. Able to digest content size. Thanks man!

  • @srikanthambaldhage2268
    @srikanthambaldhage2268 4 роки тому

    It's very very very clear to me. Thanks Codevolution and Vishwas.

  • @MBkingsoft
    @MBkingsoft 3 роки тому

    The best tutorial ever!!!! I'm so excited to start using TypeScript now.....you just got a new subscriber sir. Well done!

  • @Maddy130986
    @Maddy130986 3 роки тому

    It is very much helpful in learning TypeScript. Information is crisp and clear. Thanks.

  • @ashay4322
    @ashay4322 4 роки тому

    One of the best tutorials I have come across. Thanks to my Friend Sajida who suggested me this course and the tutor :)

  • @jamasica5839
    @jamasica5839 5 років тому +21

    I am confused with this function "hasName" :(
    How to change the code to smaller steps?

  • @ibeeliot
    @ibeeliot 4 роки тому

    Best crash course on typescript evrrrrr

  • @caffreyyy
    @caffreyyy 3 роки тому

    Man subscribed to you right away. Such a good teacher!

  • @siddiqueshadab1838
    @siddiqueshadab1838 5 років тому

    I have become fan of you teaching skills, the way you tell small things are just awesome.

  • @ricksanchez9669
    @ricksanchez9669 4 роки тому

    I'm sure this has already been said but let and const are now, and I'm pretty sure they were at the time of this video's production, vanilla javascript features, no typescript needed. You may need a transpiler for older browsers, but most work with them out of the box. Also, when working with values that aren't base types (string, int, boolean etc...) like arrays, objects and functions, you can change the contained values in a const statement.

  • @AbhishekKumar-mq1tt
    @AbhishekKumar-mq1tt 6 років тому +11

    Thank you for this awesome video

  • @nidhiparmar5835
    @nidhiparmar5835 4 роки тому

    Sir your teaching skill are awesome and excellent teacher u are u explain each and every thing very clearly and deeply

  • @SidDaysKaraoke
    @SidDaysKaraoke 5 років тому +1

    Thanks a lot! Clear and easy to understand explanation :)

  • @jugsma6676
    @jugsma6676 4 роки тому +5

    javascript: wow it's so different and new to me.
    Java: hold my coffee.

  • @LookNumber9
    @LookNumber9 4 роки тому

    Beautifully done! The explanations and examples demonstrating those explanations keep things very clear. Thank you!

  • @sarathmaya6083
    @sarathmaya6083 4 роки тому +1

    Thanks..please do more videos about typescript basics

  • @eddiehernandez70
    @eddiehernandez70 4 роки тому +1

    Vishwas, have to say this was a great tutorial! Keep up the good work! I liked and subscribed to your channel.

  • @yashasree4543
    @yashasree4543 4 роки тому

    VERY CLEAN EXPLANATION SIR. THANK YOU.

  • @rajeshcheedalla4521
    @rajeshcheedalla4521 3 роки тому

    Awesome. Simple and clear. You nailed it. Thank you for this tutorial.

  • @chrisfaulkner5522
    @chrisfaulkner5522 2 роки тому

    You're still the best at explaining the complex!👍

  • @MuzzamilKhan935
    @MuzzamilKhan935 5 років тому +2

    Thank you, very clear and helpful tutorial!

  • @chandramowlij3127
    @chandramowlij3127 5 років тому +1

    Wow!! What a tutorial, feeling somewhat confident!

  • @bitsnbytes7514
    @bitsnbytes7514 4 роки тому +3

    @22:00 I love you too

    • @Hasnain1F
      @Hasnain1F 4 роки тому

      Haha

    • @sallerc
      @sallerc 4 роки тому

      I was just about to write a comment about that :-D

  • @kartikjaiswal8923
    @kartikjaiswal8923 3 роки тому

    30 minutes of my morning spent well!

  • @kunalgoutam3231
    @kunalgoutam3231 4 роки тому

    great tutorial , i am a ts beginner and this video clarify most thing about ts. Thanx for making such a great tutorial.

  • @remixowlz
    @remixowlz 4 роки тому +1

    Very good, easy to understand thank you Codevolution!

  • @slarsen1988
    @slarsen1988 5 років тому +1

    Excellent intro to Typescript, thanks so much for the video!

  • @onewilliamsway
    @onewilliamsway 4 роки тому +1

    Thank you for uploading this. I have learnt something new today.