Skip to content

v0.6.0 - TypeScript Function Overloads

Choose a tag to compare

@Zheruel Zheruel released this 06 Sep 16:03
· 53 commits to main since this release

πŸŽ‰ TypeScript Function Overloads

This release adds comprehensive TypeScript function overload signatures to improve type inference and developer experience.

✨ What's New

TypeScript Function Overloads - Enhanced type inference for 13 functions:

  • Better IDE autocomplete and parameter hints
  • More precise return type inference based on arguments
  • Functions with overloads: truncate, pad, padStart, padEnd, template, templateSafe, excerpt, highlight, fuzzyMatch, memoize, randomString, toASCII, removeNonPrintable
  • No breaking changes - fully backward compatible

πŸ“¦ Installation

npm install [email protected]

πŸ“ Full Changelog

See CHANGELOG.md for complete details.