- 博客(1)
- 收藏
- 关注
原创 TypeScript中Class继承的JS实现
新建 index.ts 文件,实现 SubType 继承 SuperType。 //index.ts class SuperType { name: String; constructor(name:String){ this.name = name; } getName():String{ return this.name ...
2019-11-10 21:37:22
366
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人