TypeScript: tsconfig demystified!

Поділитися
Вставка
  • Опубліковано 10 вер 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!

КОМЕНТАРІ • 22

  • @anthonylee1309
    @anthonylee1309 Рік тому +14

    This is by far the best tsconfig explanation I’ve seen on UA-cam. 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

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

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

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

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

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

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

      Thanks so much Junrey!

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

  • @biasforaction7860
    @biasforaction7860 15 днів тому

    Very good video man

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

    You did it🎉nice 👍

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

    Great rundown thanks Simon.

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

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

    Finally. Thank you!

  • @zak-kepler
    @zak-kepler Рік тому

    Very interesting, thanks

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

    Great video!

  • @weroro
    @weroro 9 місяців тому

    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