There are a few things that TypeScript prevents you from doing out of the box e.g using a variable that isn’t ever declared (of course you can use a declaration file for external systems).
compilerOptions that are
boolean can be specified as
or on the command line
All of these are
Click here to see all compiler options.