Typescript works with inline on map but not with interface

前端 未结 0 911
野趣味
野趣味 2021-02-09 05:26

I\'m gradually adding Typescript to an Nextjs app but I\'ve hit an issue. In the map function Typescript works as expected if I write the type checks inline but not if I use an

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