Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFC] feature(transformer): Conditional typing #318

Draft
wants to merge 30 commits into
base: master
Choose a base branch
from

Commits on May 19, 2020

  1. enhancement(repository): Add hidden __factory property to mocks to di…

    …fferentiate them in conditional typing
    martinjlowm committed May 19, 2020
    Configuration menu
    Copy the full SHA
    96e9695 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2bcf6d2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    28bb478 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0268507 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    21ec311 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    00d256f View commit details
    Browse the repository at this point in the history
  7. enhancement(transformer): Fallback to `instanceof Object' control flo…

    …w for overloads with non literal inputs
    martinjlowm committed May 19, 2020
    Configuration menu
    Copy the full SHA
    fcf95de View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f0f1d13 View commit details
    Browse the repository at this point in the history
  9. enhancement(transformer): Implement conditional typing for direct moc…

    …k calls of interfaces with call signatures
    martinjlowm committed May 19, 2020
    Configuration menu
    Copy the full SHA
    001b087 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    0f1da32 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    9921c9c View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    36deaa6 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    d33b164 View commit details
    Browse the repository at this point in the history
  14. enhancement(transformer): Refactor GetMethodDescriptor implementation…

    … and utilize TypeScript's MethodSignature type
    martinjlowm committed May 19, 2020
    Configuration menu
    Copy the full SHA
    c724bea View commit details
    Browse the repository at this point in the history
  15. feature(transformer): Add serialization helpers including one for met…

    …hod signature-based hash
    martinjlowm committed May 19, 2020
    Configuration menu
    Copy the full SHA
    789beff View commit details
    Browse the repository at this point in the history
  16. enhancement(transformer): Add helper function to extract the first id…

    …entifier of a BindingName
    
    E.g.:
    
    ```
    const [[[[[var]]]]] = ...
    ```
    martinjlowm committed May 19, 2020
    Configuration menu
    Copy the full SHA
    5e16c9e View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    5b98fb4 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    38756df View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    cc77dc8 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    0a2d622 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    03f5fac View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    1cc0874 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    18922aa View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    bd96df9 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    8f7104c View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    6eefd02 View commit details
    Browse the repository at this point in the history
  27. chore(transformer): Enforce definitive signature for getDeclarationKe…

    …yMap and add a comment to why we can do that
    martinjlowm committed May 19, 2020
    Configuration menu
    Copy the full SHA
    17bb657 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    31945d2 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    4959ed9 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    e92a2b3 View commit details
    Browse the repository at this point in the history