dsherret / dsherret/conditional-type-checks
docs(): Failure Assertion
- Dominant language
- TypeScript
- Stars
- 450
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
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`](https://www.typescriptlang.org/docs/handbook/utility-types.html#parameterstype) or another utility type
Thanks for this repo!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.