I'm starting to learn TypeScript and I'm frustrated about if I should type functions output or not.
In one hand, I would like to be explicit and consistent in my code, which invite me to explicitly type the output.
But in the other hand there are type inferences and I feel that adding the output type can become verbose and thus, more difficult to read.
Finally (I'm not sure about this), I think that I've read in the doc that type inferences may fail when the type is complex. This last point is in favor of explicit output typing.
I wondered what our your thoughts on this, experienced TS developers, so share your opinions !