How can I set `decorator` on arrow function in `typescript`?

前端 未结 0 1017
醉梦人生
醉梦人生 2020-12-30 10:55

I create a decorator in typescript like below code:

const measure = (
  target: Object,
  propertyKey: string,
  descriptor: PropertyDescriptor
)         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题