Skip to content

Commit

Permalink
Add expectAssignable expectation - fixes #39
Browse files Browse the repository at this point in the history
  • Loading branch information
SamVerschueren committed Nov 13, 2019
1 parent 3a375fa commit cfaf5c7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions readme.md
Expand Up @@ -162,6 +162,10 @@ Check that the type of `value` is assignable to type `T`.

Check that the type of `value` is not assignable to type `T`.

### expectAssignable<T>(value)

Check that `value` is assignable to type `T`.

### expectError(function)

Check if the function call has argument type errors.
Expand Down

0 comments on commit cfaf5c7

Please sign in to comment.