-
Type: Bug
-
Resolution: Works as Designed
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
Empty show more show less
-
Not Needed
What problem are you facing?
Unable to build a package depending on mongodb 4.4.x using ts 3.9.
Notice a huge number of errors in node_modules/mongodb/mongodb.ts34.d.ts (see attached errors.txt for full output).
With mongodb 4.2.x, I can suppress these errors via "skipLibCheck": true in tsconfig.json compilerOptions but that no longer seems to work with 4.4.
The errors also go away by upgrading to Typescript 4.x, but I'm unable to do that at the moment.
If the library is no longer compatible with ts 3.9.x, please document it as such
What driver and relevant dependency versions are you using?
node 14.19.x (also seems to fail under 16.x)
typescript 3.9.10
mongodb 4.4.1
Steps to reproduce?
Try to build a module depending on mongodb 4.4.x using typescript 3.9