Type Aliases in Typescript

Поділитися
Вставка
  • Опубліковано 22 гру 2024

КОМЕНТАРІ • 16

  • @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.

  • @jayeshgehlot9850
    @jayeshgehlot9850 2 місяці тому

    Nice , it was helpful.

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

    Astonishing

  • @Priyanka-bd6um
    @Priyanka-bd6um Рік тому

    Thank you

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

    Bro you are beast

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

    Present sir...

  • @Vikas-dm9uc
    @Vikas-dm9uc 2 роки тому

    ❤❤❤❤❤

  • @Shakti_singh96
    @Shakti_singh96 2 місяці тому

    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

    • @ZizouZ5
      @ZizouZ5 27 днів тому

      well you've learnt something at least 😁

  • @Dev-Phantom
    @Dev-Phantom 4 місяці тому

    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