Improvement so we can use the encoding without errors in an array.#50556
Improvement so we can use the encoding without errors in an array.#50556typescript-bot merged 3 commits intoDefinitelyTyped:masterfrom Rechdan:patch-1
Conversation
…ing in the place of StructTypes, so we can add encoding when dealing with an array of chars/charsnt.
|
@Rechdan Thank you for submitting this PR! This is a live comment which I will keep updated. 1 package in this PR
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": 50556,
"author": "Rechdan",
"headCommitOid": "dfcdf7c6344070dc1e4a5b7dd4e9e12dd8528258",
"lastPushDate": "2021-01-12T16:50:37.000Z",
"lastActivityDate": "2021-01-12T18:26:11.000Z",
"maintainerBlessed": false,
"mergeOfferDate": "2021-01-12T17:51:38.000Z",
"mergeRequestDate": "2021-01-12T18:26:11.000Z",
"mergeRequestUser": "Rechdan",
"hasMergeConflict": false,
"isFirstContribution": false,
"popularityLevel": "Well-liked by everyone",
"pkgInfo": [
{
"name": "struct",
"kind": "edit",
"files": [
{
"path": "types/struct/index.d.ts",
"kind": "definition"
},
{
"path": "types/struct/struct-tests.ts",
"kind": "test"
}
],
"owners": [
"benallfree"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Well-liked by everyone"
}
],
"reviews": [
{
"type": "approved",
"reviewer": "benallfree",
"date": "2021-01-12T17:51:02.000Z",
"isMaintainer": false
}
],
"ciResult": "pass"
} |
|
🔔 @benallfree — please review this PR in the next few days. Be sure to explicitly select |
|
@Rechdan The CI build failed! Please review the logs for more information. Once you've pushed the fixes, the build will automatically re-run. Thanks! |
|
👋 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. |
benallfree
left a comment
There was a problem hiding this comment.
You're back for more. Thank you!
|
@Rechdan Everything looks good here. Great job! I am ready to merge this PR (at dfcdf7c) 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! ❤️ (@benallfree: you can do this too.) |
|
Ready to merge |
|
I just published |
…ng without errors in an array. by @Rechdan * Changed type from optional to obligatory in array and added plain string in the place of StructTypes, so we can add encoding when dealing with an array of chars/charsnt. * Added tests. * Removed "I" prefix from interface.
Please fill in this template.
npm test <package to test>.Select one of these and delete the others:
If changing an existing definition: