How to run TypeScript for validation without generating js files? -


i'm using typescript v2.0 , ts-node. don't need js files, want use typescript validation in tests. how can run typescript validation, without generating js files?

you can use --noemit flag.

tsc file.ts --noemit 

for validation purposes however, may consider using typescript linter instead (such tslint).


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -