conditional-type-checks icon indicating copy to clipboard operation
conditional-type-checks copied to clipboard

docs(): Failure Assertion

Open ShaMan123 opened this issue 2 years ago • 0 comments

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!

ShaMan123 avatar Oct 24 '22 08:10 ShaMan123