Skip to content

Conversation

@mourner
Copy link
Member

@mourner mourner commented Jun 17, 2025

  • Mark _pbf, _geometry, _keys, _values, _features properties as private since those aren't meant to be accessed externally. Had to add a bunch of @ts-expect-error due to the pattern of access when using pbf (for performance).
  • Refine property value type from uknown to string | number | boolean — vector tile specification doesn't allow for any other types.

@mourner mourner requested a review from stepankuzmin June 17, 2025 15:36
Copy link

@stepankuzmin stepankuzmin left a comment

Choose a reason for hiding this comment

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

Nice! 👍

@mourner mourner merged commit 537dad6 into main Jun 18, 2025
4 checks passed
@mourner mourner deleted the mourner/improve-types branch June 18, 2025 07:57
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