Skip to content
This repository has been archived by the owner on Feb 28, 2018. It is now read-only.

User wants to use generic data types with functions #51

Open
nidin opened this issue Apr 12, 2017 · 1 comment
Open

User wants to use generic data types with functions #51

nidin opened this issue Apr 12, 2017 · 1 comment
Assignees

Comments

@nidin
Copy link
Contributor

nidin commented Apr 12, 2017

What?
User wants to have generic data type as parameters for functions

How?
Implement generic parameters for functions

function funcName<T>(arg:T):T{
}
@nidin nidin self-assigned this Apr 12, 2017
@nidin nidin added the v1.0.0 label Apr 27, 2017
@nidin
Copy link
Contributor Author

nidin commented Apr 27, 2017

We already implemented generics for classes (#2) therefore same code can be reused to implement this feature.

@nidin nidin added v2.0.0 and removed v1.0.0 labels May 26, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant