How about check type of predicate with generic #5440
Unanswered
linlinyang
asked this question in
Q&A
Replies: 1 comment
-
Might be worth asking in the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there any way test
includes
function,expectTypeOf(includes).guards
getnever
type, andassertType(includes([1,2,3], 1))
just check return type but not predicate.Beta Was this translation helpful? Give feedback.
All reactions