type-fest icon indicating copy to clipboard operation
type-fest copied to clipboard

Expose more internal types

Open bombillazo opened this issue 11 months ago • 1 comments

Hello,

For use, the ArrayElement type is super convenient, yet we can only import it from the type-fest/source/internal path. In Deno this causes some import issues so I was wondering if the library could export ArrayElement directly from the main project?

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • The funding will be given to active contributors.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar

bombillazo avatar Sep 01 '23 14:09 bombillazo

We are happy to expose more of the internal types. Someone needs to do the work write better docs, tests, etc for that type.

https://github.com/sindresorhus/type-fest/blob/main/.github/contributing.md#submitting-a-new-type

sindresorhus avatar Sep 01 '23 14:09 sindresorhus