Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

TypeScript will eventually support generics, as per the spec [1]:

  NOTE: TypeScript currently doesn’t support Generics, but we expect to include them in the
  final language. Since TypeScript’s static type system has no run-time manifestation, Generics
  will be based on “type erasure” and intended purely as a conduit for expressing parametric type
  relationships in interfaces, classes, and function signatures.
[1] http://go.microsoft.com/fwlink/?LinkId=267121


Cool. It is quite expectable too, at least considering the capabilities of the C# type system :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: