4 ms·
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
by wingspan 14y ago
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 http://go.microsoft.com/fwlink/?LinkId=267121
- epidemian 14y agoCool. It is quite expectable too, at least considering the capabilities of the C# type system :)