Type 'string[]' cannot be used as an index type. Error in typescript but works in javascript console

后端 未结 0 1997
花落未央
花落未央 2020-11-30 02:10

So the following works fine when I put in break point in the code and run the following: [browser console]

but I get Type \'string[]\' cannot be used as an index typ

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