-
-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: toIncludeAllPartialMembers types #370
Conversation
Codecov Report
@@ Coverage Diff @@
## main #370 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 135 135
Lines 833 833
Branches 144 144
=========================================
Hits 833 833 Continue to review full report at Codecov.
|
types/index.d.ts
Outdated
@@ -74,7 +74,7 @@ declare namespace jest { | |||
* Use `.toIncludeAllPartialMembers` when checking if an `Array` contains all of the same partial members of a given set. | |||
* @param {Array.<*>} members | |||
*/ | |||
toIncludeAllMembers(members: any[]): R; | |||
toIncludeAllPartialMembers(members: any[]): R; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this have the <E = any>
above?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure, it can make it stricter. will add
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Thank you! |
Fixes the faulty copy/paste here 😅