Typescript incompatible type error, but type is correct. Only happens with method decorator

后端 未结 0 1644
失恋的感觉
失恋的感觉 2021-02-20 11:25

I\'m trying to use a method decorator to coerce the type of an argument to a method. It seems like it should work. And the JS output runs correctly. Here is my code:



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