Skip to content

Comments

chore: improve overload typings#144

Merged
eslachance merged 3 commits intoeslachance:mainfrom
miichom:main
Jan 16, 2026
Merged

chore: improve overload typings#144
eslachance merged 3 commits intoeslachance:mainfrom
miichom:main

Conversation

@miichom
Copy link
Contributor

@miichom miichom commented Jan 12, 2026

  • A user asked in the Discord help channel, "'get' returns 'any' instead of the type". Updated the typings and added overloads so it now properly infers the type for both full objects and nested paths. This should work for any function that uses Path<V> and previously returned any – I did not update the JSDocs; let me know if you want me to do that.
  • Fixed the broken README.md logo link, using local docs one instead.
  • Added Prettier to package.json (the config was already present) and formatted the codebase using the project’s config.

@eslachance
Copy link
Owner

Hell yeah brother! It's hard to really see the specific change you made due to the linting affecting every single line... but I'm gonna trust you on this one.

@eslachance eslachance merged commit 2300c6f into eslachance:main Jan 16, 2026
1 check passed
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