Fix "session" typescript typing for "insertOne" options.

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Unknown
    • 4.0.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      I noticed most command operations extend the common interface of "CommandOperationOptions" which already inherits BSONSerializeOptions, WriteConcernOptions, and supports "session" typings.

       

      Let me know if this is all that was needed:

       

      https://github.com/mongodb/node-mongodb-native/pull/2816/files

              Assignee:
              Neal Beeken
              Reporter:
              Jordan Stout
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: