TypeScript: tsconfig demystified!

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

КОМЕНТАРІ • 28

  • @HmongCrypto
    @HmongCrypto 6 днів тому

    Honestly, this is one of the best explanation I have seen thus far. I am really hoping to see a video about the "module" eventually. You definitely deserve more subs.

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

    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  Рік тому +2

      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

  • @loquek
    @loquek 4 місяці тому

    Really helpful, would love to hear you talk more about various TS/JS topics! Cheers 🙌

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

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

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

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

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

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

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

      Thanks so much Junrey!

  • @avi12
    @avi12 4 місяці тому

    This is a great explainer, though didn't explain what I was looking for
    Still, big thumbs up!

  • @carlotadias9335
    @carlotadias9335 3 місяці тому

    I would love a video on the evolution of javascript, and the different new things that were added in each version.
    Thank you !

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

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

    Great rundown thanks Simon.

  • @sammas3179
    @sammas3179 6 місяців тому

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

  • @biasforaction7860
    @biasforaction7860 5 місяців тому

    Very good video man

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

    You did it🎉nice 👍

  • @76Freeman
    @76Freeman Рік тому +2

    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  Рік тому +2

      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!

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

    Very interesting, thanks

  • @carlotadias9335
    @carlotadias9335 3 місяці тому

    Are there browsers nowadays (2014) not compatible with esnext?
    Thank you in advance,

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

    Finally. Thank you!

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

    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!

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

    thanks for

  • @xokyle
    @xokyle 10 місяців тому +1

    use vscode terminal T_T