Type Aliases in Typescript

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ต.ค. 2024
  • Welcome to a youtube channel dedicated to programming and coding related tutorials. We talk about tech, write code, discuss about cloud and devops. That’s what we do all day, all year. We roll out a lot of series and videos on our channel.
    All the learning resources such as code files, documentations, articles and community discussions are available on our website:
    chaicode.com/
    You can find our discord link, github link etc on the above website.
    Twitter/X link: x.com/hiteshdo...
    Discord link: hitesh.ai/discord
    Learn React with 10 projects: • Let's learn react from...
    Learn Docker: • A practical guide on D...
    Learn Kubernetes: • Complete Kubernetes Co...
    How does a browser works: • How does a browser wor...
    How nodejs works: • How node JS works | En...
    Learn Redux-toolkit: • Learn Redux Toolkit in...
    Learn NextJS: • Nextjs Full stack course
    Learn Typescript: • Why to learn Typescript
    Learn Javascript: • Welcome to new JavaScr...
    Learn React Native: • React Native Mastery: ...
    Learn Zustand: • React state management...
    Learn Golang: • How to get started wit...

ความคิดเห็น • 15

  • @jayeshgehlot9850
    @jayeshgehlot9850 วันที่ผ่านมา

    Nice , it was helpful.

  • @poojadeshmukh1943
    @poojadeshmukh1943 2 ปีที่แล้ว +3

    Can you please explain the difference between interfaces and this type alises

    • @rajbhinde6581
      @rajbhinde6581 ปีที่แล้ว +5

      The key distinction is that a type cannot be re-opened to add new properties vs an interface which is always extendable.
      type Animal = {
      name: string;
      };
      type Animal = {
      color: string;
      };
      Above code is NOT ALLOWED
      interface Animal {
      name: string;
      };
      interface Animal {
      color: string;
      };
      This is ALLOWED
      PS - If you don't know what interface is, keep watching the playlist, there's a video about it later

  • @ymadhu7605
    @ymadhu7605 2 ปีที่แล้ว

    This is the best free software Ive seen. Respect.

  • @pushpendersinghparihar
    @pushpendersinghparihar 2 ปีที่แล้ว

    Astonishing

  • @Priyanka-bd6um
    @Priyanka-bd6um ปีที่แล้ว

    Thank you

  • @Sumanth07_
    @Sumanth07_ 2 ปีที่แล้ว

    Bro you are beast

    • @RB-gb2nn
      @RB-gb2nn 7 หลายเดือนก่อน

      really?

  • @Shakti_singh96
    @Shakti_singh96 3 วันที่ผ่านมา

    he is not here to teach us , he is here to just showcase his english skills only . speaking anything irrelevant to the topic and focusing on his english more

  • @ankushladani496
    @ankushladani496 2 ปีที่แล้ว

    Present sir...

  • @Vikas-dm9uc
    @Vikas-dm9uc 2 ปีที่แล้ว

    ❤❤❤❤❤

  • @Dev-Phantom
    @Dev-Phantom 2 หลายเดือนก่อน

    cool

  • @Rvrishav
    @Rvrishav 2 ปีที่แล้ว

    Hi Sir, I am huge fan of your work and purchased a few courses on your website but the new message thing on the title is very annoying and it doesnt goes away. please fix it I am unable to focus on the content.
    Edit: fixed it - setInterval(( )=>{ document.title = ""},100) ;)

  • @dgghetiya6659
    @dgghetiya6659 2 ปีที่แล้ว

    Second

  • @Flintboyofficial
    @Flintboyofficial 2 ปีที่แล้ว

    First