文章 2022-11-09 来自:开发者社区

ts重点学习77-泛型接口

ts重点学习77-泛型接口

ts重点学习77-泛型接口
文章 2022-11-09 来自:开发者社区

ts重点学习120-访问器的装饰器

ts重点学习120-访问器的装饰器

ts重点学习120-访问器的装饰器
文章 2022-11-09 来自:开发者社区

ts重点学习116-类的装饰器2

工厂函数

ts重点学习116-类的装饰器2
文章 2022-11-09 来自:开发者社区

ts重点学习117-类的装饰器笔记

export default {}; /* function testDecorator(constructor: any) { constructor.prototype.uname = "张予曦"; constructor.prototype.show = ():void => { console.log(`我是${constructor.prototype.uname...

文章 2022-11-09 来自:开发者社区

ts重点学习118-方法的装饰器

ts重点学习118-方法的装饰器

ts重点学习118-方法的装饰器
文章 2022-11-09 来自:开发者社区

ts重点学习119-方法的装饰器笔记

export default {} // 普通方法: target对应的就是 prototype // 静态方法: target对应的就是 类的构造函数 function getNameDecorator(target: any, key: string, desciptor: PropertyDescriptor) { // console.log(target); // conso...

文章 2022-11-09 来自:开发者社区

ts重点学习121-访问器的装饰器笔记

export default {} function visitDecorator(target: any, key: string, descritor: PropertyDescriptor) { // console.log(target); // console.log(key); // console.log(descritor); descritor.writable...

文章 2022-11-09 来自:开发者社区

ts重点学习122-属性的装饰器

ts重点学习122-属性的装饰器

ts重点学习122-属性的装饰器
文章 2022-11-09 来自:开发者社区

ts重点学习123-属性的装饰器笔记

export default {} /* function nameDecorator(target: any, key: string) { console.log(target); console.log(key); } class Test { @nameDecorator uname = "任敏" } let t = new Test() t.uname = "周洁琼" ...

文章 2022-11-09 来自:开发者社区

ts重点学习123-参数的装饰器

ts重点学习123-参数的装饰器

ts重点学习123-参数的装饰器

本页面内关键词为智能算法引擎基于机器学习所生成,如有任何问题,可在页面下方点击"联系我们"与我们沟通。

阿里巴巴终端技术

阿里巴巴终端技术最新内容汇聚在此,由阿里巴巴终端委员会官方运营。阿里巴巴终端委员会是阿里集团面向前端、客户端的虚拟技术组织。我们的愿景是着眼用户体验前沿、技术创新引领业界,将面向未来,制定技术策略和目标并落地执行,推动终端技术发展,帮助工程师成长,打造顶级的终端体验。同时我们运营着阿里巴巴终端域的官方公众号:阿里巴巴终端技术,欢迎关注。

+关注