Releases: TypeStrong/ts-expect
Releases · TypeStrong/ts-expect
Add `expectNever`
Added
- Add
expectNever
function which returnsnever
, useful for exhaustive checks
Support Any in TypeEqual
Fixed
- Support
any
inTypeEqual
check
Updated documentation comments
Added
- Better documentation included inline with function and type comments
Changed
- Create empty statements in TypeScript transform (instead of
void 0
)
Exact Type
Expose TypeEqual
helper for making sure two types equal each other.
Initial Release
Simple runtime type checker for TypeScript exhaustive type checks.