Skip to content
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

[@turf/tag] Confirm support for multipolygons and add to TypeScript definitions #1996

Merged
merged 3 commits into from
Jan 11, 2021
Merged

[@turf/tag] Confirm support for multipolygons and add to TypeScript definitions #1996

merged 3 commits into from
Jan 11, 2021

Conversation

bryceroney
Copy link
Contributor

@bryceroney bryceroney commented Jan 11, 2021

Hi there

This is my first time contributing to a large OSS project, so I hope I have met the requirements in the contributing guide.

I've started using TypeScript more for my JavaScript projects, and when working on a project using turf noticed that the definitions for @turf/tag do not include MultiPolygon as well as Polygon.

This PR adds that definition to the TypeScript file, but also adds tests to ensure it does work if changes are made to @turf/boolean-point-in-polygon

I am not sure why yarn.lock changed.

Copy link
Collaborator

@mfedderly mfedderly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks for adding the tests as well!

The yarn.lock change was leftover from a different PR but has already been fixed on the master branch. After updating your PR with the latest it went away.

@mfedderly mfedderly merged commit 8327f87 into Turfjs:master Jan 11, 2021
@bryceroney bryceroney deleted the add-multipolygons-tag branch January 12, 2021 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants