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

User wants to use generic data types with functions #51

Open

Description

@nidin

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

How?
Implement generic parameters for functions

function funcName<T>(arg:T):T{
}

Activity

  1. self-assigned this
    on Apr 12, 2017
  2. nidin commented on Apr 27, 2017

    @nidin
    ContributorAuthor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions