How are you using the tsc
command?
If you have typescript
in your package.json
as a dependency or dev dependency, you should be able to run tsc
as npx tsc
. And, if you add it to your package.json
under scripts
, then you should be able to run it via npm run ...