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
Post a Comment