Recap the topics covered in this chapter.

We'll cover the following

In this chapter, we took a look at the various strict compiler options available within the TypeScript compiler.

We can distill the key takeaways from this chapter into the following:

  • We started with an example of nested configuration, where a tsconfig.json file could reference another one as a base.

  • We then discussed four strict options that check our code base for possible errors by detecting null variables, properties that have not been initialized, parameter types when using bind, call, or apply, and strict function types.

  • We then went through the no compiler options, which help us to identify variables that could be of type any, unused variables, implicit returns, switch case errors, and incorrect scoping of this.

Get hands-on with 1200+ tech skills courses.