There is a code branch for JavaScript specific checks but it doesn't honour the target defined in the compiler options. When ES3 or ES5 is being used these things should be reported as errors as well
- use of arrow function
- use of
const and let
- use of default parameter values
- short hand object literal notation
- ...
Also, I wonder if this code path can be executed in addition to the semantic analysis instead of instead.
There is a code branch for JavaScript specific checks but it doesn't honour the target defined in the compiler options. When
ES3orES5is being used these things should be reported as errors as wellconstandletAlso, I wonder if this code path can be executed in addition to the semantic analysis instead of instead.