摘要: TypeScript编写类,继承、函数相关的代码 class Person { private name:string private age:Number constructor(name:string, age:Number) { this.name = name; this.age = age 阅读全文
posted @ 2023-12-26 15:26 宝山方圆 阅读(7) 评论(0) 推荐(0) 编辑