Typescript: Type 'string' cannot be used to index type 'T'

前端 未结 0 911
北海茫月
北海茫月 2020-11-27 03:26

How to avoid next errors?

  • String 6: Type \'IControllerTypes\' is not assignable to type \'T\'. \'IControllerTypes\' is assignable to the constraint of type \'T\
相关标签:
回答
  • 消灭零回复
提交回复
热议问题