Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-2930

Need to install @types/bl separate to install the driver from master

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.0
    • Affects Version/s: 4.0.0
    • Component/s: Shell
    • Labels:
      None

      Hello!

      I have in my package.json 

       

      "mongodb": "github:mongodb/node-mongodb-native#master",
      

      But when I try to compile our typescript I get 

       

      node_modules/mongodb/mongodb.d.ts(3,29): error TS7016: Could not find a declaration file for module 'bl'. '/Users/anna/mongosh/packages/service-provider-core/node_modules/bl/bl.js' implicitly has an 'any' type.
       Try `npm install @types/bl` if it exists or add a new declaration (.d.ts) file containing `declare module 'bl';`
      

       

      Installing types/bl manually does fix the issue

            Assignee:
            matt.broadstone@mongodb.com Matt Broadstone
            Reporter:
            anna.herlihy@mongodb.com Anna Herlihy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: