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

Remove symbol property narrowing code

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: TypeScript

      How are you using Mongo? What version of the server and driver are you using?

      What is the feature/improvement you would like?

      In the driver we have to manually pull values out of symbol properties to narrow the value. This will be fixed in typescript 4.7 but for now we've introduced code to work in both 4.6 and 4.7. We can clean up this code when we can narrow the symbol properties directly.

      What use case would this feature/improvement enable?

            Assignee:
            Unassigned Unassigned
            Reporter:
            neal.beeken@mongodb.com Neal Beeken
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: