Skip to content

Conversation

@mfedderly
Copy link
Collaborator

The migration to TypeScript removed the explicit return type (accidentally), which broke types. This reintroduces the return annotation to fix the regression.

Fixes #3006

Copy link
Member

@smallsaucepan smallsaucepan left a comment

Choose a reason for hiding this comment

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

Awesome. Thank you. Will merge and release.

@mfedderly
Copy link
Collaborator Author

Thanks! Sorry for the blip 😞

@smallsaucepan smallsaucepan merged commit 8a1ed5d into master Jan 27, 2026
4 checks passed
@mfedderly mfedderly deleted the mf/fix-lineoffset-types branch January 27, 2026 23:48
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.

@turf/lineOffset return type does not keep the geojson type anymore

3 participants