gr2m / initials

extract initials from and add initials to names
https://gr2m.github.io/initials
MIT License
44 stars 14 forks source link

Add generic type #82

Closed mskelton closed 2 years ago

mskelton commented 2 years ago

Fixes #81

Adds a generic for the initials function so the correct result will be returned based on the input type. TypeScript will infer it automatically, so this requires no change by the user.

github-actions[bot] commented 2 years ago

:tada: This PR is included in version 3.1.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: