How configure TypeScript ESLint to warn missint return type on functions but infer void when it's none

前端 未结 0 357
既然无缘
既然无缘 2020-12-01 04:25

I just turn on TypeScript ESLint to our company project.

I wish to get warns or errors when a function DOES returns a value but inffer void when no retur

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