avoiding typescript error @typescript-eslint/no-unsafe-assignment
in objectContaining()
#6614
Unanswered
kevinlaw91
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
expect.any()
returns typeany
. How do you make typescript happy?I'm currently using
as
operator, not sure if this is the correct solution or there is a better wayBeta Was this translation helpful? Give feedback.
All reactions