Skip to content

Releases: TypeStrong/ts-expect

Add `expectNever`

13 Feb 05:03
Compare
Choose a tag to compare

Added

  • Add expectNever function which returns never, useful for exhaustive checks

Support Any in TypeEqual

12 Feb 20:54
Compare
Choose a tag to compare

Fixed

  • Support any in TypeEqual check

Updated documentation comments

10 Feb 02:00
Compare
Choose a tag to compare

Added

  • Better documentation included inline with function and type comments

Changed

  • Create empty statements in TypeScript transform (instead of void 0)

Exact Type

25 Mar 01:08
Compare
Choose a tag to compare

Expose TypeEqual helper for making sure two types equal each other.

Initial Release

25 Mar 01:08
Compare
Choose a tag to compare

Simple runtime type checker for TypeScript exhaustive type checks.