Skip to content

Conversation

@elchukc
Copy link
Contributor

@elchukc elchukc commented May 21, 2025

Only changes type declaration file. Code functionality unchanged. All changes tested while using the library in a project.
Changes can be viewed commit-by-commit to see how the final types were built up to. This is on top of #44.

  1. Geocoding queries can be strings or address component objects
  2. Infer return type is array if input is array, or record if input is record
  3. If we know the keys of a record, recognize key types as those keys specifically
  4. optional _warnings property on response objects

@MiniCodeMonkey MiniCodeMonkey merged commit b85a399 into Geocodio:master May 21, 2025
0 of 4 checks passed
@MiniCodeMonkey
Copy link
Member

Thanks for contributing with these improvements!

@elchukc elchukc deleted the type-enhancements branch May 21, 2025 10:51
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