-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
Generic Types: Allow for defining variant signatures. #1299
Comments
Specifying the type of a generic argument used to be optional, but we could think about revisiting this now that type arguments are mandatory. |
I think #209 covers this. |
@danquirk, I see the last comment mentions what I'm talking about, but I missed where the decision was made or the solution existed? |
#209 is still under consideration. We haven't decided not to do it, but we haven't committed to doing it either. |
Currently if I define:
I then cannot have any varying generic definitions.
i.e.
Another important ability of C# that is missing is:
But then also have a default non-generic version.
i.e.
Or:
But then also have a default non-generic version.
i.e.
I may have missed this topic/issue in the search, so I apologize ahead of time that I was unable to find it.
I'm also still using 1.0.1 version of TypeScript.
The text was updated successfully, but these errors were encountered: