我试图在不包含在类中的函数中添加自定义TypeScript装饰器,并且无论我做什么,似乎编译器都在抱怨。
有什么想法吗?可能吗?
decorator typescript
decorator ×1
typescript ×1