serverless-plugin-typescript icon indicating copy to clipboard operation
serverless-plugin-typescript copied to clipboard

Errors don't stop the deploy

Open thejuan opened this issue 7 years ago • 3 comments

If there are errors in the typescript, the deploy continues. I'm using noImplicitAny and getting errors, but the deploy continues.

thejuan avatar Feb 15 '18 01:02 thejuan

We're seeing this as well. In the meantime we've created a yarn script that runs tsc --noEmit before deploy.

timtrinidad avatar Sep 11 '18 17:09 timtrinidad

I am looking at the same issue, if you include noEmit: true in tsconfig.json then when tsc errors occur it won't deploy

demsey2 avatar Nov 13 '20 01:11 demsey2

For anyone who comes across this, adding "noEmit": true in tsconfig.json didn't work for me. But, adding "noEmitOnError": true did.

seanthingee avatar May 25 '22 15:05 seanthingee