TypeScript-Node-Starter
TypeScript-Node-Starter copied to clipboard
Build fails when using yarn
The build fails and throws several typescript related errors

Steps to reproduce:
yarn install
yarn run build or yarn build
Hmm, I tried to comment out the esModuleInterop and even set it to false and still did fail. Plus if you look into the package.json the ts is up to date to 2.7
Solution is to remove the node_modules folder present in ./node_modules/@types/connect-mongo folder.
Try: Change the config in tsconfig.json and rebuild
"noImplicitAny": true, => "noImplicitAny": false
I fixed using @himanshu0137 suggestion and also updating @types/connect-mongo to 0.0.39.