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

qt - QML MouseArea onWheel event not working properly when inside QML Scrollview -

java - is not an enclosing class / new Intent Cannot Resolve Constructor -

python - Error importing VideoFileClip from moviepy : AttributeError: 'PermissionError' object has no attribute 'message' -