Typescript configuration file
Even if your program contains error typescript converted ts file to java script.
we don't want this behavior if there is any error in typescript don't want its JavaScript file
for that we need typescript configuration file
tsc --init
open config file and uncomment "noEmit": true,
or you can use below command
tsc --noEmitOnError test.ts
Comments
Post a Comment