Add a class property using a decorator in TypeScript

后端 未结 0 459
Happy的楠姐
Happy的楠姐 2020-11-30 06:15

I\'m trying to create a decorator that adds a property to its target class.

This is my decorator implementation:

export type Constructable = n         


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