ニュース

Using generics in TypeScript is very similar to using them in, for example, C#. This method calls a generic function, specifying the data type to be used (string, in this case): res = ...
The TypeScript team recently announced version 3.1 of TypeScript, adding mappable tuple and array types and several other refinements.
Whereas with JavaScript, the type of variable is dynamically assigned, Typescript forces us to pre-define the type of the variable we are declaring.