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

Type checking generic middleware #41930

Closed
5 tasks done
Bielik20 opened this issue Dec 11, 2020 · 1 comment
Closed
5 tasks done

Type checking generic middleware #41930

Bielik20 opened this issue Dec 11, 2020 · 1 comment
Labels
Unactionable There isn't something we can do with this issue

Comments

@Bielik20
Copy link

Search Terms

generic middleware

Suggestion

Ability to infer type of chain of generic functions.

Use Cases

Before creating this issue I created a question on stackoverflow. This underlies what I am trying to achieve.

Checklist

My suggestion meets these guidelines:

  • This wouldn't be a breaking change in existing TypeScript/JavaScript code
  • This wouldn't change the runtime behavior of existing JavaScript code
  • This could be implemented without emitting different JS based on the types of the expressions
  • This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
  • This feature would agree with the rest of TypeScript's Design Goals.
@RyanCavanaugh RyanCavanaugh added the Unactionable There isn't something we can do with this issue label Dec 11, 2020
@RyanCavanaugh
Copy link
Member

Please file a new issue where you fill in the template to a degree where it can be read here, not elsewhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Unactionable There isn't something we can do with this issue
Projects
None yet
Development

No branches or pull requests

2 participants