[underscore] Fix findIndex and findLastIndex signatures#45842
[underscore] Fix findIndex and findLastIndex signatures#45842typescript-bot merged 1 commit intoDefinitelyTyped:masterfrom
Conversation
|
@ProdigySim Thank you for submitting this PR! I see this is your first time submitting to DefinitelyTyped 👋 — I'm the local bot who will help you through the process of getting things through. This is a live comment which I will keep updated. Code ReviewsBecause you edited one package and updated the tests (👏), I can help you merge this PR once someone else signs off on it. Status
All of the items on the list are green. To merge, you need to post a comment including the string "Ready to merge" to bring in your changes. Diagnostic Information: What the bot saw about this PR{
"type": "info",
"now": "-",
"pr_number": 45842,
"author": "ProdigySim",
"owners": [
"borisyankov",
"jbaldwin",
"ccurrens",
"confususs",
"jgonggrijp",
"ffflorian",
"regevbr",
"peterblazejewicz",
"reubenrybnik"
],
"dangerLevel": "ScopedAndTested",
"headCommitAbbrOid": "6643cc5",
"headCommitOid": "6643cc520e2eab36b8bdeec190f2139e10f43253",
"mergeIsRequested": true,
"stalenessInDays": 0,
"lastCommitDate": "2020-07-02T12:52:38.000Z",
"lastCommentDate": "2020-07-02T20:01:23.000Z",
"reviewLink": "https://github.com/DefinitelyTyped/DefinitelyTyped/pull/45842/files",
"hasMergeConflict": false,
"authorIsOwner": false,
"isFirstContribution": true,
"popularityLevel": "Popular",
"anyPackageIsNew": false,
"packages": [
"underscore"
],
"files": [
{
"filePath": "types/underscore/index.d.ts",
"kind": "definition",
"package": "underscore"
},
{
"filePath": "types/underscore/underscore-tests.ts",
"kind": "test",
"package": "underscore"
}
],
"hasDismissedReview": false,
"ciResult": "pass",
"lastReviewDate": "2020-07-02T19:38:45.000Z",
"reviewersWithStaleReviews": [],
"approvalFlags": 2,
"isChangesRequested": false
} |
|
🔔 @borisyankov @jbaldwin @ccurrens @confususs @jgonggrijp @ffflorian @regevbr @peterblazejewicz @reubenrybnik - please review this PR in the next few days. Be sure to explicitly select |
|
👋 Hi there! I’ve run some quick measurements against master and your PR. These metrics should help the humans reviewing this PR gauge whether it might negatively affect compile times or editor responsiveness for users who install these typings. Let’s review the numbers, shall we? Comparison details 📊
It looks like nothing changed too much. I won’t post performance data again unless it gets worse. |
jgonggrijp
left a comment
There was a problem hiding this comment.
Looks good to me. Thanks for the fix!
|
@ProdigySim Everything looks good here. Great job! I am ready to merge this PR on your behalf. If you'd like that to happen, please post a comment saying:
and I'll merge this PR almost instantly. Thanks for helping out! ❤️ |
|
Ready to merge |
…astIndex signatures by @ProdigySim
…astIndex signatures by @ProdigySim
findIndex documentation
Instance methods for
findIndexandfindLastIndexincluded an erroneousarray: Array<T>parameter.This PR removes the erroneous
<T>type parameter and thearray: Array<T>parameter for both instance methods and chain methods offindIndexandfindLastIndexAdds tests for instance methods and chain methods of
findIndexandfindLastIndex