conditional-type-checks
conditional-type-checks copied to clipboard
docs(): Failure Assertion
I have been researching solutions for TS type testing such as this repo. It seems superior to other solutions since it exposes assertion types and not only assertion methods, keeping testing very flexible. I think that should be documented as well as:
- a brief comparison between this repo and other solutions.
- a Failure Assertion how to (
// @ts-expect-error
) - a Running Tests how to (simple as it may be it makes it very clear how to plug and test)
- a test case using
ParameterType
or another utility type
Thanks for this repo!