How could typescript check object attribute type at runtime

后端 未结 0 1916
悲&欢浪女
悲&欢浪女 2020-12-21 14:12

I defined a service type and my purpose is to create a function with two params. first one is service type which is key of type Service second one is a string array of the a

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