I'm using Typescript type checking from VSCode thru the ts-check
comment on those file which I want to check. It works perfectly!
Now I'd like to use the tsc
cli command to check the same files I added ts-check
comment.
Is that possible using only tsc
?
If I use the following command all files are validated and I'm not willing to add only those which must be validated on jsconfig/tsconfig.
npx tsc --allowJs --checkJs --noEmit --target ES5 src/**/*.js
Which are my options?