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

Suggestion: type for Object.fromEntries #521

Open
tranvansang opened this issue Nov 26, 2022 · 1 comment
Open

Suggestion: type for Object.fromEntries #521

tranvansang opened this issue Nov 26, 2022 · 1 comment

Comments

@tranvansang
Copy link

tranvansang commented Nov 26, 2022

It will be great if type-fest has support for the output of Object.fromEntries.

Existing implementation:
https://dev.to/svehla/typescript-object-fromentries-389c

Related issues:
microsoft/TypeScript#12253 (comment)
microsoft/TypeScript#35745

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

I have a type for this in https://github.com/sindresorhus/ts-extras#api

I'm not sure how useful it is to provide only the type.

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

No branches or pull requests

2 participants