随笔分类 -  TypeScript

摘要:自定义类: export default class A{ public name:string; public getString(){ return this.name; } constructor(name:string){ this.name=name; } } import A from 阅读全文
posted @ 2018-09-26 16:34 游戏鼻祖 阅读(317) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示