-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
[react-lazy-load-image-component] fix onLoad props #69366
[react-lazy-load-image-component] fix onLoad props #69366
Conversation
@yoonminsang 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 PRCode 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": 69366,
"author": "yoonminsang",
"headCommitOid": "794f678645fa7d5fa85abd1339e45a134f8f59eb",
"mergeBaseOid": "9c5aeea853df366833b50a680bafd9c5413b7b16",
"lastPushDate": "2024-04-16T07:43:57.000Z",
"lastActivityDate": "2024-04-16T08:18:55.000Z",
"mergeOfferDate": "2024-04-16T07:58:45.000Z",
"mergeRequestDate": "2024-04-16T08:18:55.000Z",
"mergeRequestUser": "yoonminsang",
"hasMergeConflict": false,
"isFirstContribution": true,
"tooManyFiles": false,
"hugeChange": false,
"popularityLevel": "Popular",
"pkgInfo": [
{
"name": "react-lazy-load-image-component",
"kind": "edit",
"files": [
{
"path": "types/react-lazy-load-image-component/index.d.ts",
"kind": "definition"
},
{
"path": "types/react-lazy-load-image-component/react-lazy-load-image-component-tests.tsx",
"kind": "test"
}
],
"owners": [
"danvk",
"diegochavez",
"revskill10",
"kodai3"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Popular"
}
],
"reviews": [
{
"type": "approved",
"reviewer": "kodai3",
"date": "2024-04-16T07:58:06.000Z",
"isMaintainer": false
}
],
"mainBotCommentID": 2058448353,
"ciResult": "pass"
} |
🔔 @danvk @diegochavez @revskill10 @kodai3 — please review this PR in the next few days. Be sure to explicitly select |
- Modify onLoad type as described in the comments
a1fd7a4
to
794f678
Compare
@yoonminsang: Everything looks good here. I am ready to merge this PR (at 794f678) 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! ❤️ (@danvk, @diegochavez, @revskill10, @kodai3: you can do this too.) |
Ready to merge |
I modified the type incorrectly in the last pr(#66479 ). The code written in the official document is as follows.
pnpm test <package to test>
.Select one of these and delete the others:
If changing an existing definition:
onLoad
overwrites, and callonLoad
insideonImageLoad
Aljullu/react-lazy-load-image-component#120, Upate react-lazy-load-image-component types for 1.6 #66479package.json
.