Skip to content

Arguments type enhancements and .not implementation - #108

Merged
notanengineercom merged 9 commits into
masterfrom
arg-stronger-types
May 17, 2020
Merged

Arguments type enhancements and .not implementation#108
notanengineercom merged 9 commits into
masterfrom
arg-stronger-types

Conversation

@notanengineercom

@notanengineercom notanengineercom commented May 6, 2020

Copy link
Copy Markdown
Collaborator

ref #106
Fixes #111

  • Argument matchers stronger types
  • Implementation of inverse matches
  • Bump to typescript 3.9.2
  • Fixes for type inference changes of typescript 3.9.2

@notanengineercom notanengineercom changed the title Stronger type checking on Arg.is() and Arg.all() Arguments type enhancements and .not implementation May 10, 2020
@ffMathy

ffMathy commented May 10, 2020

Copy link
Copy Markdown
Owner

Wow this is great!

@notanengineercom

Copy link
Copy Markdown
Collaborator Author

Thanks! 😄
I wasn't sure about the Arg.any syntax (Arg.any.not()), but I think it's better to have consistency using .not. Also now the types propagate to the Arg.is, Arg.any and .not functions!

@notanengineercom
notanengineercom merged commit 056337a into master May 17, 2020
@notanengineercom
notanengineercom deleted the arg-stronger-types branch May 17, 2020 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix typescript 3.9.2 breaking changes

2 participants