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

Allow function types to omit param names #3693

Closed
jameslong opened this issue Jul 1, 2015 · 1 comment
Closed

Allow function types to omit param names #3693

jameslong opened this issue Jul 1, 2015 · 1 comment
Labels
By Design Deprecated - use "Working as Intended" or "Design Limitation" instead

Comments

@jameslong
Copy link

It would be nice to be able to omit function type parameter names. e.g.

var identity: <T>(T) => T;
var add5: (number) => number;

This could make code more concise and readable in some cases where the param name is not important.

@RyanCavanaugh RyanCavanaugh added the By Design Deprecated - use "Working as Intended" or "Design Limitation" instead label Jul 1, 2015
@RyanCavanaugh
Copy link
Member

See #3081 for discussion of parameters lacking type annotations.

It is waaaaaaaaaaaaaay too late to change this now.

@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
By Design Deprecated - use "Working as Intended" or "Design Limitation" instead
Projects
None yet
Development

No branches or pull requests

2 participants