fix(wktohtml): fix callback and return types#69493
fix(wktohtml): fix callback and return types#69493typescript-bot merged 5 commits intoDefinitelyTyped:masterfrom
Conversation
In the sources of node-wkhtmltopdf - error is nullable - stream is optional
- in the sources of node-wkhtmltopdf: wkhtmltopdf returns a `ChildProcess.stdout` which is a `stream.Readable` - `stream.Readable` is a subclass of `NodeJS.ReadWriteStream`
On the same line, it was not always failing in case of error
|
@marievidal360 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. 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. 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": 69493,
"author": "marievidal360",
"headCommitOid": "9047c9cf3b793290bc89baeed3e386444a2a526a",
"mergeBaseOid": "89bf9961959cf31dab577035bf475693cc9461a8",
"lastPushDate": "2024-05-01T21:58:32.000Z",
"lastActivityDate": "2024-05-02T14:05:41.000Z",
"mergeOfferDate": "2024-05-02T14:02:36.000Z",
"mergeRequestDate": "2024-05-02T14:05:41.000Z",
"mergeRequestUser": "marievidal360",
"hasMergeConflict": false,
"isFirstContribution": true,
"tooManyFiles": false,
"hugeChange": false,
"popularityLevel": "Well-liked by everyone",
"pkgInfo": [
{
"name": "wkhtmltopdf",
"kind": "edit",
"files": [
{
"path": "types/wkhtmltopdf/index.d.ts",
"kind": "definition"
},
{
"path": "types/wkhtmltopdf/wkhtmltopdf-tests.ts",
"kind": "test"
}
],
"owners": [
"digijap",
"rensdewolf"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Well-liked by everyone"
}
],
"reviews": [
{
"type": "approved",
"reviewer": "rensdewolf",
"date": "2024-05-02T14:02:59.000Z",
"isMaintainer": false
}
],
"mainBotCommentID": 2089200333,
"ciResult": "pass"
} |
|
🔔 @digijap @rensdewolf — please review this PR in the next few days. Be sure to explicitly select |
|
@marievidal360: Everything looks good here. I am ready to merge this PR (at 9047c9c) on your behalf whenever you think it's ready. If you'd like that to happen, please post a comment saying:
and I'll merge this PR almost instantly. Thanks for helping out! ❤️ (@digijap, @rensdewolf: you can do this too.) |
|
Thank you for your changes. |
|
Ready to merge |
pnpm test wktohtml.If changing an existing definition:
node-wkhtmltopdfpackage.json.node-wkhtmltopdf(the current version is 3 years old)In this PR, I:
ChildProcess.stdoutwhich is astream.Readablestream.Readableis a subclass ofNodeJS.ReadWriteStream