- 装饰类:参数为类的构造函数
- 装饰方法: 参数为类的原型,方法名,该方法的 descriptor
- 装饰属性
1. 装饰类@sayclass Person {}此时 say 的参数为 function Person 构造函数2. 装饰方法class Person {@saycall () {}}此时 say 的参数为:Person.prototype, 'call' 方法名, Person call 的 descriptor3. 装饰属性class Person {@sayname: string = 'alex'}此时 say 的参数为:Person.prototype, 'name' 属性名,undefined
