Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose more internal types #676

Open
bombillazo opened this issue Sep 1, 2023 · 1 comment
Open

Expose more internal types #676

bombillazo opened this issue Sep 1, 2023 · 1 comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed type addition

Comments

@bombillazo
Copy link

bombillazo commented Sep 1, 2023

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
@sindresorhus
Copy link
Owner

sindresorhus commented Sep 1, 2023

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 sindresorhus added help wanted Extra attention is needed type addition labels Sep 1, 2023
@sindresorhus sindresorhus changed the title ArrayElement only importable from 'type-fest/source/internal' Expose more internal types Sep 26, 2023
@sindresorhus sindresorhus pinned this issue Sep 26, 2023
@sindresorhus sindresorhus added the good first issue Good for newcomers label Sep 26, 2023
@Emiyaaaaa Emiyaaaaa unpinned this issue Oct 25, 2023
@sindresorhus sindresorhus pinned this issue Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed type addition
Projects
None yet
Development

No branches or pull requests

2 participants