Typescript Document Reading - 2019-02 to 03

Generic

As we covered in our section on classes, a class has two sides to its type: the static side and the instance side. Generic classes are only generic over their instance side rather than their static side, so when working with classes, static members can not use the class’s type parameter.

posted @ 2019-02-27 14:52  FigureSkating  阅读(215)  评论(0编辑  收藏  举报