#`"noEmit": true` is not working | beginner

1 messages · Page 1 of 1 (latest)

tawdry karma
#

When i set "noEmit": true in the tsconfig.json file, the tsc compiler still emits compiled js files into the root folder as shown in the image. Why is this happening. I read that only type checking will happen when it is set to true, and no js files would be emitted. What am i missing. Can't find answers on the internet 😦

lapis ibex
#

tsc won't read tsconfig.json if you provide input files

#

just omit the index.ts in the command and you'll get the desired results