Some deprecated overloads come before non-deprecated ones

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor - P4
    • 4.12.0
    • Affects Version/s: 4.10.0, 4.11.0
    • Component/s: None
    • 2
    • Not Needed
    • None
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      What problem are you facing?

      Since the deprecation of callbacks in 4.10.0, some deprecated overloads now come before their non-deprecated counterparts, causing some type issues in certain edge cases. These will be explained better in the PR I'm about to open to fix this issue

      What driver and relevant dependency versions are you using?

      4.11.0

      Steps to reproduce?

      Either use the ReturnType type from TS on a method with a deprecated overload or try to call a method with a deprecated overload and have an error in one of your parameters

              Assignee:
              Durran Jordan
              Reporter:
              Rodrigo Leitão
              Durran Jordan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: