Show HN: Typed-jest-expect, elegant typings for a more civilized age(github.com)
github.com
Show HN: Typed-jest-expect, elegant typings for a more civilized age
https://github.com/elierotenberg/typed-jest-expect
1 comments
Nice. Is this specifically tied to Jest or can it be used for general purpose assertions? Partly interested because I’m building a test framework, but also because it could be useful in a slightly different form in non-test code (eg with `asserts` return types rather than type checking the parameter).