Hacker News new | ask | show | jobs
Show HN: Typed-jest-expect, elegant typings for a more civilized age (github.com)
3 points by elierotenberg 1571 days ago
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).