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

Incomplete typedescriptions for type <Collection>

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.2.3
    • Component/s: None
    • Labels:

      Dear Mongodevs,

       

      because of incomplete typedescriptions for at least the type <Collection>, i get typescript compiling errors in my module.

      The lacking descriptions for my case are:

       

      
      Property 'dropAllIndexes' does not exist on type 'Collection<any>'
      Property 'ensureIndex' does not exist on type 'Collection<any>'.
      Property 'findAndModify' does not exist on type 'Collection<any>'.
      Property 'findAndRemove' does not exist on type 'Collection<any>'.
      

       

       

      I didnt check all types or properties though. Please complete theses descriptions, so there are no more typescript compiling errors.

       

      Thank you!

       

      Best regards

            Assignee:
            daniel.aprahamian@mongodb.com Daniel Aprahamian (Inactive)
            Reporter:
            tgruen Teresa Grün
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: