News for hackers. Stuff that matters.
Re:Show HN: Typed-jest-expect, elegant typings for a more ci... by eyelidlessness on Saturday February 26, 2022 @12:32PM (#30479678)
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).