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!
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.
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.
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.
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!!
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?
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
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! 😊
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!
No pressure, but hell, yes, please! Sub+1
How can you have only 900 subscriber. Your quality of video are so good!
Awesome! Do you think you have time to continue part 2 to explain the module more in depth?
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.
Very informative. I hope you grow your channel. You got a new subscriber.
Thanks so much Junrey!
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.
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.
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!!
Great rundown thanks Simon.
You did it🎉nice 👍
Very interesting, thanks
Finally. Thank you!
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?
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
Great video!
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.
Great videos, keep going!
use vscode terminal T_T