EsLint rule for requiring the return type except for void

后端 未结 0 1317
星月不相逢
星月不相逢 2021-01-12 05:57

I think I found the proper rule here that will warn/err when no explicit return type is declared for all methods except if no return type is available (i.e. void type).

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