Open steevehook opened 6 years ago
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
.
The build fails and throws several typescript related errors
Steps to reproduce:
yarn install
yarn run build
oryarn build