Skip to content

Commit

Permalink
Doc suggestion fix tsdjs#1
Browse files Browse the repository at this point in the history
Co-authored-by: Tommy <tmitchell7@uh.edu>
  • Loading branch information
SebastienGllmt and tommy-mitchell committed Sep 12, 2022
1 parent 74136aa commit 58e5473
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions readme.md
Expand Up @@ -189,9 +189,11 @@ Check that `value` is marked a [`@deprecated`](https://jsdoc.app/tags-deprecated

Check that `value` is not marked a [`@deprecated`](https://jsdoc.app/tags-deprecated.html).

### expectNever&lt;T&gt;(value)
### expectNever(expression: never)

Check that the type of `value` is `never` and also returns `never` (useful for checking all branches are covered).
Asserts that the type and return type of `expression` is `never`.

Useful for checking that all branches are covered.

### printType(value)

Expand Down

0 comments on commit 58e5473

Please sign in to comment.