TypeScript: tsconfig demystified!

Поделиться
HTML-код
  • Опубликовано: 23 авг 2024
  • tsconfig.json is a black box; bajillions of permutations of opaque, confusing options. Let's sift through the madness and see if we can decipher the ones that matter!

Комментарии • 21

  • @anthonylee1309
    @anthonylee1309 Год назад +14

    This is by far the best tsconfig explanation I’ve seen on RUclips. Hope you cover other stuff like baseUrl too. Thanks for the great vid! 😊

    • @sstur
      @sstur  Год назад +1

      Wow, thanks Anthony! I will certainly dig more into tsconfig in a future vid and I'll add baseUrl to the list of things to cover!

    • @aram5642
      @aram5642 Год назад

      No pressure, but hell, yes, please! Sub+1

  • @studiowebselect
    @studiowebselect Год назад +1

    How can you have only 900 subscriber. Your quality of video are so good!

  • @sammas3179
    @sammas3179 Месяц назад

    Awesome! Do you think you have time to continue part 2 to explain the module more in depth?

  • @FrancoisBothaZA
    @FrancoisBothaZA Год назад

    So glad to have discovered this channel. I'm fairly new to Typescript and I'm just overwhelmed with all the options and module types and and and... Thanks for helping with this concise explanation. More on modules would be great.

  • @JunreyBeduya
    @JunreyBeduya Год назад +2

    Very informative. I hope you grow your channel. You got a new subscriber.

    • @sstur
      @sstur  Год назад

      Thanks so much Junrey!

  • @seangwright
    @seangwright Год назад +2

    I really liked the real-world explanations of _when_ a dev might want to change an option or select specific options. The tsconfig docs are ok at explaining what an option does, but not why it would impact me.

    • @sstur
      @sstur  Год назад

      Thanks Sean! There are sooo many more options. I was just explaining one called noImplicitReturns to students in class today. I really need to do part 2. Will post back here.

  • @Douwab
    @Douwab Год назад

    Excellent video! This is simple and clear, exactly what i was looking for. I just subbed to your channel and i am waiting for more videos like this one!!

  • @webbae
    @webbae Год назад

    Great rundown thanks Simon.

  • @farouktouil5036
    @farouktouil5036 Год назад +1

    You did it🎉nice 👍

  • @zak-kepler
    @zak-kepler Год назад

    Very interesting, thanks

  • @dimitrisqq
    @dimitrisqq Год назад

    Finally. Thank you!

  • @76Freeman
    @76Freeman Год назад +1

    Once again, great video. One question though, you've mentioned that the two most important options are "strict": true; and "noUncheckedIndexedAccess": true,. How about option "strictNullChecks"? This one should be pretty important too no?

    • @sstur
      @sstur  Год назад +1

      Right. Turning on `strict: true` will enable "all of the strict mode family options" which includes strictNullChecks and a bunch more. Details here: www.typescriptlang.org/tsconfig#strict

  • @natanaelaitonean3867
    @natanaelaitonean3867 Год назад

    Great video!

  • @weroro
    @weroro 8 месяцев назад

    7:37 It only works on Unix systems (Linux, Mac OS) and it doesn't work on Windows. The universal solution is to use the rimraf library.

  • @trashtrash7844
    @trashtrash7844 Год назад

    Great videos, keep going!

  • @xokyle
    @xokyle 5 месяцев назад

    use vscode terminal T_T