-
Notifications
You must be signed in to change notification settings - Fork 30.2k
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
Update Leaflet declaration to include missing methods, as of version 1.8 #61339
Conversation
@someonewithpc 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
@someonewithpc: I see that you have added yourself as an owner, are you sure you want to become an owner? 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": 61339,
"author": "someonewithpc",
"headCommitOid": "5ca069fa5d95e8b6b78ff7d4ce53899d8c918384",
"mergeBaseOid": "935a0289ffea73f059baf4f501480a44543e45af",
"lastPushDate": "2022-08-18T11:53:59.000Z",
"lastActivityDate": "2022-09-15T20:34:55.000Z",
"mergeOfferDate": "2022-09-15T20:21:31.000Z",
"mergeRequestDate": "2022-09-15T20:34:55.000Z",
"mergeRequestUser": "someonewithpc",
"hasMergeConflict": false,
"isFirstContribution": true,
"tooManyFiles": false,
"hugeChange": false,
"popularityLevel": "Popular",
"pkgInfo": [
{
"name": "leaflet",
"kind": "edit",
"files": [
{
"path": "types/leaflet/index.d.ts",
"kind": "definition"
},
{
"path": "types/leaflet/leaflet-tests.ts",
"kind": "test"
}
],
"owners": [
"alejo90",
"atd-schubert",
"mcauer",
"ronikar",
"life777",
"henrythasler",
"captain-igloo"
],
"addedOwners": [
"someonewithpc"
],
"deletedOwners": [],
"popularityLevel": "Popular"
}
],
"reviews": [
{
"type": "approved",
"reviewer": "sandersn",
"date": "2022-09-15T20:20:46.000Z",
"isMaintainer": true
},
{
"type": "approved",
"reviewer": "dev4ndy",
"date": "2022-08-18T21:39:16.000Z",
"isMaintainer": false
},
{
"type": "approved",
"reviewer": "oliverzm",
"date": "2022-08-18T21:32:31.000Z",
"isMaintainer": false
}
],
"mainBotCommentID": 1189534652,
"ciResult": "pass"
} |
🔔 @alejo90 @atd-schubert @mcauer @ronikar @life777 @henrythasler @captain-igloo — please review this PR in the next few days. Be sure to explicitly select |
@someonewithpc The CI build failed! Please review the logs for more information. Once you've pushed the fixes, the build will automatically re-run. Thanks! Note: builds which are failing do not end up on the list of PRs for the DT maintainers to review. |
@someonewithpc The CI build failed! Please review the logs for more information. Once you've pushed the fixes, the build will automatically re-run. Thanks! Note: builds which are failing do not end up on the list of PRs for the DT maintainers to review. |
@someonewithpc The CI build failed! Please review the logs for more information. Once you've pushed the fixes, the build will automatically re-run. Thanks! Note: builds which are failing do not end up on the list of PRs for the DT maintainers to review. |
The tests on this package succeed, but some dependent packages fail. My TS skills aren't yet the best, so I'm currently struggling to fix the issues. They seem to stem from the fact upstream added a |
@someonewithpc The CI build failed! Please review the logs for more information. Once you've pushed the fixes, the build will automatically re-run. Thanks! Note: builds which are failing do not end up on the list of PRs for the DT maintainers to review. |
@someonewithpc I haven't seen any activity on this PR in more than three weeks, and it still has problems that prevent it from being merged. The PR will be closed on Aug 19th (in a week) if the issues aren't addressed. |
A declaration was generated with `dts-gen` and compared with the existing definition, merging them manually to add missing methods
…unction type and fix linter errors
All tests pass, but I wouldn't consider this the best way to do things. Namely:
|
hello guys. Is there any reason why this type property is not here as part of this PR? Thanks for all the hard work you guys doing with this keeping the types up-to-date |
Stricken elements don't seem to require changes on our part Leaflet ## 1.8.0 (2022-04-18) changelog:
|
- Make DivOverlay / Tooltip interactive (DefinitelyTyped#7531, DefinitelyTyped#7532 by @johnd0e) - Add openOn, close, toggle functions to DivOverlay (DefinitelyTyped#6639 by @johnd0e) - Introduce DomEvent.off(el) to remove all listeners (DefinitelyTyped#7125 by @johnd0e) - Allow preventing round-off errors by passing false to Util.formatNum / toGeoJSON (DefinitelyTyped#7100 by @johnd0e) - Add autoPanOnFocus to Marker (DefinitelyTyped#8042 by @IvanSanchez) - Add referrerPolicy to TileLayer (DefinitelyTyped#7945 by @natevw) - Add playsInline to VideoOverlay (DefinitelyTyped#7928 by @Falke-Design) - Add getCenter to ImageOverlay (DefinitelyTyped#7848 by @Falke-Design) - Fire a tileabort event when a TileLayer load is cancelled (DefinitelyTyped#6786 by @dstndstn) - Add crossOrigin to Icon (DefinitelyTyped#7298 by @syedmuhammadabid)
@oliverzm Thanks for the approval, but can you suggest a better way to structure the Events and Evented classes? I'm not happy with the current "solution", which is just to duplicate the code |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please merge 💯
Ready to merge |
Please fill in this template.
npm test <package to test>
.Select one of these and delete the others:
If changing an existing definition: