Update iterator types to align with microsoft/TypeScript#59506#70221
Update iterator types to align with microsoft/TypeScript#59506#70221typescript-bot merged 2 commits intomasterfrom
Conversation
|
Marking as a draft until microsoft/TypeScript#59506 has merged and is available in nightly |
|
@rbuckton Thank you for submitting this PR! This is a live comment that I will keep updated. 6 packages in this PR
Code ReviewsBecause this is a widely-used package, a DT maintainer will need to review it before it can be merged. You can test the changes of this PR in the Playground. 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": 70221,
"author": "rbuckton",
"headCommitOid": "db116018ff28477b904a53365eba750c798a6181",
"mergeBaseOid": "454c171426225dbc4f0b58a2482b31c238dd34d2",
"lastPushDate": "2024-08-05T18:36:35.000Z",
"lastActivityDate": "2024-08-07T21:57:52.000Z",
"mergeOfferDate": "2024-08-07T21:10:24.000Z",
"mergeRequestDate": "2024-08-07T21:57:52.000Z",
"mergeRequestUser": "rbuckton",
"hasMergeConflict": false,
"isFirstContribution": false,
"tooManyFiles": false,
"hugeChange": false,
"popularityLevel": "Critical",
"pkgInfo": [
{
"name": "call-bind",
"kind": "edit",
"files": [
{
"path": "types/call-bind/test/callBound.test.ts",
"kind": "test"
}
],
"owners": [
"ljharb",
"ExE-Boss"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Well-liked by everyone"
},
{
"name": "es-abstract",
"kind": "edit",
"files": [
{
"path": "types/es-abstract/test/es2015.test.ts",
"kind": "test"
},
{
"path": "types/es-abstract/test/helpers/callBound.test.ts",
"kind": "test"
}
],
"owners": [
"ljharb",
"ExE-Boss"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Well-liked by everyone"
},
{
"name": "es-get-iterator",
"kind": "edit",
"files": [
{
"path": "types/es-get-iterator/es-get-iterator-tests.ts",
"kind": "test"
}
],
"owners": [
"JasonHK",
"ljharb"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Well-liked by everyone"
},
{
"name": "lodash",
"kind": "edit",
"files": [
{
"path": "types/lodash/lodash-tests.ts",
"kind": "test"
}
],
"owners": [
"bczengel",
"chrootsu",
"aj-r",
"e-cloud",
"thorn0",
"jtmthf",
"DomiR",
"WilliamChelman"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Critical"
},
{
"name": "regenerator-runtime",
"kind": "edit",
"files": [
{
"path": "types/regenerator-runtime/regenerator-runtime-tests.ts",
"kind": "test"
}
],
"owners": [
"ExE-Boss"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Popular"
},
{
"name": "string.prototype.matchall",
"kind": "edit",
"files": [
{
"path": "types/string.prototype.matchall/string.prototype.matchall-tests.ts",
"kind": "test"
}
],
"owners": [
"peterblazejewicz"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Well-liked by everyone"
}
],
"reviews": [
{
"type": "approved",
"reviewer": "jakebailey",
"date": "2024-08-07T21:09:48.000Z",
"isMaintainer": true
}
],
"mainBotCommentID": 2274333323,
"ciResult": "pass"
} |
|
🔔 @ljharb @ExE-Boss @JasonHK @bczengel @chrootsu @aj-r @e-cloud @thorn0 @jtmthf @DomiR @WilliamChelman @peterblazejewicz — please review this PR in the next few days. Be sure to explicitly select |
|
Ready to merge |
This updates various libraries to align with the changes in microsoft/TypeScript#59506 which renames
BuiltinIteratortoIteratorObjectand introduces specificIteratorObjectsubtypes for built-ins such asArrayIterator,MapIterator,SetIterator, etc..pnpm test <package to test>.If changing an existing definition: