serverless-plugin-typescript
serverless-plugin-typescript copied to clipboard
Errors don't stop the deploy
If there are errors in the typescript, the deploy continues. I'm using noImplicitAny and getting errors, but the deploy continues.
We're seeing this as well. In the meantime we've created a yarn script that runs tsc --noEmit
before deploy.
I am looking at the same issue, if you include noEmit: true in tsconfig.json then when tsc errors occur it won't deploy
For anyone who comes across this, adding "noEmit": true
in tsconfig.json didn't work for me. But, adding "noEmitOnError": true
did.