Checks if a given compiler option is enabled.
It handles dependencies of options, e.g. declaration is implicitly enabled by composite or strictNullChecks is enabled by strict.
However, it does not check dependencies that are already checked and reported as errors, e.g. checkJs without allowJs.
This function only handles boolean flags.
Checks if a given compiler option is enabled. It handles dependencies of options, e.g.
declarationis implicitly enabled bycompositeorstrictNullChecksis enabled bystrict. However, it does not check dependencies that are already checked and reported as errors, e.g.checkJswithoutallowJs. This function only handles boolean flags.