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

WIP: type call spreads #18007

Closed

Conversation

KiaraGrouwstra
Copy link
Contributor

This addresses the last sub-problem of #5453, Fn(...Args), needed to effectively type Function.prototype.bind, curry, and compose.

Unlike my earlier PRs, this one is not independent: it hinges on #17961 (type calls), #17884 (type spread) and #18004 (tuple spread). The first 2/3 are included, so changes will look more cluttered here though new changes just span 10 lines over 2 functions.

I'll properly re-test this when those are ready -- now still broken.

Fixes the third part of microsoft#5453, needed to effectively type `bind` (Function.prototype), `curry` and `compose`. Depends on microsoft#17961 type calls, microsoft#17884 type spread and microsoft#18004 tuple spread. The first 2/3 are included, so changes will look more cluttered here though new changes just span 10 lines over 2 functions. Will properly test this when those are ready -- now still broken.
@typescript-bot
Copy link
Collaborator

Thanks for your contribution. This PR has not been updated in a while and cannot be automatically merged at the time being. For housekeeping purposes we are closing stale PRs. If you'd still like to continue working on this PR, please leave a message and one of the maintainers can reopen it.

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

Successfully merging this pull request may close these issues.

4 participants