You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm submitting a ...
[x] bug report
[ ] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project
Summary
Express Typescript app crashes on build with the following error
node_modules/connect-mongo/build/main/lib/MongoStore.d.ts:2:83 - error TS7016: Could not find a declaration file for module 'mongodb'. '/mnt/c/Users/asier/dev/justlaunched/api/node_modules/mongodb/lib/mongodb/index.js' implicitly
has an 'any' type.
If the 'mongodb' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mongodb'
import { Collection, MongoClient, MongoClientOptions, WriteConcernSettings } from 'mongodb';
Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)
I'm submitting a ...
[x] bug report
[ ] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project
Summary
Express Typescript app crashes on build with the following error
The text was updated successfully, but these errors were encountered: