-
Type: Task
-
Resolution: Done
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
Labels:
NODE-4027 Description
What problem are you facing?
When attempting to instantiate a mongoclient in typescript using mongodb 4.4.0, the constructor returns an any type.
What driver and relevant dependency versions are you using?
- Node driver 4.4.0
- es-lint version: 7.32.0
- typescript version: 3.9.10
Steps to reproduce?
- `npm install mongodb@4.4.0`
- Import MongoClient into typescript file
- Insert `new MongoClient("string123");`
Screenshot:
- is depended on by
-
NODE-4027 Instantiating a MongoClient in Typescript using "mongodb@4.4.0" results in type error
- Closed