TypeScript: tsconfig demystified!

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

КОМЕНТАРІ • 27

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

    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

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

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

  • @carlotadias9335
    @carlotadias9335 Місяць тому

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

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

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

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

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

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

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

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

    Great rundown thanks Simon.

  • @carlotadias9335
    @carlotadias9335 Місяць тому

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

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

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

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

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

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

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

    You did it🎉nice 👍

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

    Very good video man

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

    Finally. Thank you!

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

    Very interesting, thanks

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

    Great video!

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

    use vscode terminal T_T

  • @sugan4907
    @sugan4907 Місяць тому

    thanks for

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

    Great videos, keep going!