Expected Behaviour
TypeScript errors shall be reported for .js files, if "checkJS": false in tsconfig.json but enabled for a few files selectively using // @ts-check .
Actual Behaviour
no TypeScript errors are reported for such .js files
Steps to Reproduce the Problem
Build the repo linked below, the error in test.js is not reported.
Location of a Minimal Repository that Demonstrates the Issue.
https://github.com/reinholdk/ts-loader-sample
Expected Behaviour
TypeScript errors shall be reported for .js files, if
"checkJS": falsein tsconfig.json but enabled for a few files selectively using// @ts-check.Actual Behaviour
no TypeScript errors are reported for such .js files
Steps to Reproduce the Problem
Build the repo linked below, the error in test.js is not reported.
Location of a Minimal Repository that Demonstrates the Issue.
https://github.com/reinholdk/ts-loader-sample